#124E9D#124E9D

#124E9D is a dark, vivid cyan. Relative luminance 0.080; OKLCH L 43.5% C 0.142 H 257.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#124E9D
RGBrgb(18, 78, 157)
HSLhsl(214, 79%, 34%)
HSVhsv(214, 89%, 62%)
CMYKcmyk(88.5%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.00, 12.84, -48.07)
CIE-LCHlch(34.00, 49.76, 284.96°)
OKLaboklab(43.5% -0.0305 -0.1385)
OKLCHoklch(43.5% 0.142 257.6)
XYZxyz(9.0574, 8.0105, 32.9606)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E9D #9D6112
analogous
#12949D #124E9D #1C129D
triadic
#124E9D #9D124E #4E9D12
tetradic
#124E9D #9D1294 #9D6112 #129D1C
square
#124E9D #9D1294 #9D6112 #129D1C
split-complementary
#124E9D #9D1C12 #949D12
monochromatic
#05172F #0C3366 #124E9D #1869D4 #4089E9

Accessibility & contrast

On white

8.07
#124E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#124E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E9D
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E9D#FFFFFF#000000##FFFFFF
##124E9D1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D56A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #124e9d;
/* rgb */ color: rgb(18, 78, 157);
/* oklch */ color: oklch(43.5% 0.142 257.6);
Tailwind
colors: {
  custom: {
    50: '#6c7eba',
    500: '#124e9d',
    950: '#000000',
  },
}
SCSS
$custom: #124e9d;
$custom-light: #6c7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#124e9d",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 214.101,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43499,
    "c": 0.14181,
    "h": 257.6
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#124E9D
secondary
#C98F42
accent
#A132F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #124E9D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#124E9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva