#124D9D#124D9D

#124D9D is a dark, vivid cyan. Relative luminance 0.079; OKLCH L 43.3% C 0.143 H 258.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#124D9D
RGBrgb(18, 77, 157)
HSLhsl(215, 79%, 34%)
HSVhsv(215, 89%, 62%)
CMYKcmyk(88.5%, 51%, 0%, 38.4%)
CIE-LABlab(33.71, 13.52, -48.55)
CIE-LCHlch(33.71, 50.40, 285.56°)
OKLaboklab(43.27% -0.0298 -0.1399)
OKLCHoklch(43.27% 0.143 258)
XYZxyz(8.9869, 7.8695, 32.9371)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D9D #9D6212
analogous
#12939D #124D9D #1C129D
triadic
#124D9D #9D124D #4D9D12
tetradic
#124D9D #9D1293 #9D6212 #129D1C
square
#124D9D #9D1293 #9D6212 #129D1C
split-complementary
#124D9D #9D1C12 #939D12
monochromatic
#05172F #0C3266 #124D9D #1868D4 #4088E9

Accessibility & contrast

On white

8.16
#124D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#124D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D9D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D9D#FFFFFF#000000##FFFFFF
##124D9D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #124d9d;
/* rgb */ color: rgb(18, 77, 157);
/* oklch */ color: oklch(43.3% 0.143 258.0);
Tailwind
colors: {
  custom: {
    50: '#6c7eba',
    500: '#124d9d',
    950: '#000000',
  },
}
SCSS
$custom: #124d9d;
$custom-light: #6c7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#124d9d",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 214.532,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43273,
    "c": 0.14306,
    "h": 258
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#124D9D
secondary
#C99042
accent
#A332F6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #124D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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