RAL Classic color

RAL 5023 Distant blue #49678D

RAL 5023 Distant blue is shown here as #49678D, a widely published sRGB approximation of the printed swatch. It is a muted blue in the blue family. In OKLCH it sits at lightness 0.507, chroma 0.070 and hue 254.8°. The nearest CSS named color is royalblue (#4169E1), ΔE2000 9.5 away.

Relative luminance
0.1304
OKLCH L · C · h
0.507 · 0.070 · 254.8
Best text
White 5.82:1
Hue family
Blue

#49678D color codes

HEX
#49678D
RGB
rgb(73, 103, 141)
HSL
hsl(214, 32%, 42%)
OKLCH
oklch(0.507 0.070 254.8)
OKLab
oklab(0.507 -0.019 -0.068)
CIELAB (D65)
L* 42.82, a* 0.07, b* -24.32
XYZ (D65)
X 12.40, Y 13.04, Z 27.06
CMYK (naive)
cmyk(48%, 27%, 0%, 45%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #49678D accessible?

White text on it reaches 5.82:1, passing AA. Black text manages only 3.60:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    3.60:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +25
  • White text on it

    5.82:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −84
  • As text on black

    3.60:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −22
  • As text on white

    5.82:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +79

Nearest versions that pass 4.5:1

  • For text on white

    #49678D 5.82:1

    It already reaches 5.82:1 on white, so no change is needed.

  • For text on black

    #58779E 4.54:1

    Lightening its OKLCH lightness from 0.51 to 0.56 reaches 4.54:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #49678D live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #49678D

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #49678D sits at step 600.

  1. 50#EFF6FF
    White
    1.08
    Black
    19.29
  2. 100#DEEDFF
    White
    1.18
    Black
    17.66
  3. 200#BDDAFF
    White
    1.43
    Black
    14.63
  4. 300#A1C0E8
    White
    1.87
    Black
    11.22
  5. 400#84A4CD
    White
    2.56
    Black
    8.17
  6. 500#6988B0
    White
    3.65
    Black
    5.74
  7. 600This color#49678D
    White
    5.82
    Black
    3.60
  8. 700#3D5A7E
    White
    7.08
    Black
    2.96
  9. 800#274161
    White
    10.42
    Black
    2.01
  10. 900#132945
    White
    14.67
    Black
    1.43
  11. 950#04162D
    White
    18.13
    Black
    1.15

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #49678D can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.166; #49678D uses 43% of it. Display P3, which many recent phones and laptops show, reaches 0.212 there: 28% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.070
sRGB edge
0.166
Display P3 edge
0.212
Rec. 2020 edge
0.305
Dominant wavelength
477 nm
Excitation purity
36%
Chromaticity
x 0.2363, y 0.2484
  • This color#49678D
  • Most vivid in sRGB#0063C0
  • Most vivid in Display P3oklch(0.507 0.212 254.8)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #49678d;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0 0.3605 0.8211); }
}

Mixing

Mixing #49678D

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#A4B3C6
  • OKLab50%#A0B1C6
  • OKLCH50%#A0B1C6

Black #000000

  • sRGB50%#253447
  • OKLab50%#172333
  • OKLCH50%#172333

Its complement #7D5F35

  • sRGB50%#636361
  • OKLab50%#656565
  • OKLCH50%#82556F
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #49678d, white);
color: color-mix(in oklch, #49678d 50%, white);

In use

#49678D in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:15.82:1 Passes
  • Link and body-size textText, 4.5:15.82:1 Passes
  • Large headingLarge text, 3:15.82:1 Passes
  • Icons, borders and focus ringsNon-text, 3:15.82:1 Passes

Dark page

  • Button labelText, 4.5:15.82:1 Passes
  • Link and body-size textText, 4.5:13.21:1 Fails
  • Large headingLarge text, 3:13.21:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.21:1 Passes

For text on this page, the nearest shade that passes is #6180A7 4.59:1

Color vision

How #49678D looks with color blindness

Tritanopia changes it most, ΔE2000 17.7; deuteranopia changes it least, 4.0.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #58698F ΔE2000 4.2

    Close match

    Reads as muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #50628C ΔE2000 4.0

    Close match

    Reads as muted blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #2C6F74 ΔE2000 17.7

    Distinct

    Reads as muted teal

  • Achromatopsia

    No cone color vision; lightness only

    #656565 ΔE2000 15.7

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #7D5F35. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#49678D · #7D5F3533.9Stays distinct
Protanopia#58698F · #6A603135.5Stays distinct
Deuteranopia#50628C · #71673637.2Stays distinct
Tritanopia#2C6F74 · #87575538.4Stays distinct
Achromatopsia#656565 · #6464640.4Easily confused

Harmony

Color harmonies for #49678D

Its complement is #7D5F35, a muted brown, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#49678D
  • Complement#7D5F35

Complementary

Open in Harmony Studio
  • −30°#326E83
  • Base#49678D
  • +30°#615F8C
  • Base#49678D
  • +120°#895458
  • +240°#546E45
  • Base#49678D
  • +150°#875843
  • +210°#6B6735

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-5023: #49678d;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-5023': '#49678d',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-5023: oklch(0.507 0.070 254.8);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-5023": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.2863, 0.4039, 0.5529],
        "hex": "#49678d"
      },
      "$description": "RAL 5023 Distant blue (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral5023 = Color(.sRGB, red: 0.286, green: 0.404, blue: 0.553, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral5023 = Color(0xFF49678D)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #49678D in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.