#124D9F#124D9F

#124D9F is a dark, vivid cyan. Relative luminance 0.079; OKLCH L 43.4% C 0.146 H 258.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#124D9F
RGBrgb(18, 77, 159)
HSLhsl(215, 80%, 35%)
HSVhsv(215, 89%, 62%)
CMYKcmyk(88.7%, 51.6%, 0%, 37.6%)
CIE-LABlab(33.85, 14.34, -49.52)
CIE-LCHlch(33.85, 51.56, 286.15°)
OKLaboklab(43.43% -0.0295 -0.1428)
OKLCHoklch(43.43% 0.146 258.3)
XYZxyz(9.1590, 7.9384, 33.8437)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D9F #9F6412
analogous
#12939F #124D9F #1E129F
triadic
#124D9F #9F124D #4D9F12
tetradic
#124D9F #9F1293 #9F6412 #129F1E
square
#124D9F #9F1293 #9F6412 #129F1E
split-complementary
#124D9F #9F1E12 #939F12
monochromatic
#061831 #0C3268 #124D9F #1868D6 #4288EA

Accessibility & contrast

On white

8.11
#124D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#124D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D9F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D9F#FFFFFF#000000##FFFFFF
##124D9F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #124d9f;
/* rgb */ color: rgb(18, 77, 159);
/* oklch */ color: oklch(43.4% 0.146 258.3);
Tailwind
colors: {
  custom: {
    50: '#6d7ebc',
    500: '#124d9f',
    950: '#000000',
  },
}
SCSS
$custom: #124d9f;
$custom-light: #6d7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#124d9f",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 214.894,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4343,
    "c": 0.14579,
    "h": 258.3
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#124D9F
secondary
#CA9143
accent
#A432F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #124D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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