#124D8F#124D8F

#124D8F is a dark, vivid cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.124 H 254.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#124D8F
RGBrgb(18, 77, 143)
HSLhsl(212, 78%, 32%)
HSVhsv(212, 87%, 56%)
CMYKcmyk(87.4%, 46.2%, 0%, 43.9%)
CIE-LABlab(32.74, 7.74, -41.61)
CIE-LCHlch(32.74, 42.33, 280.54°)
OKLaboklab(42.22% -0.0323 -0.1195)
OKLCHoklch(42.22% 0.124 254.9)
XYZxyz(7.8594, 7.4185, 26.9990)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D8F #8F5412
analogous
#128C8F #124D8F #16128F
triadic
#124D8F #8F124D #4D8F12
tetradic
#124D8F #8F128C #8F5412 #128F16
square
#124D8F #8F128C #8F5412 #128F16
split-complementary
#124D8F #8F1612 #8C8F12
monochromatic
#041222 #0B3059 #124D8F #196AC5 #3689E6

Accessibility & contrast

On white

8.45
#124D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#124D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D8F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D8F#FFFFFF#000000##FFFFFF
##124D8F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#0B488E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #124d8f;
/* rgb */ color: rgb(18, 77, 143);
/* oklch */ color: oklch(42.2% 0.124 254.9);
Tailwind
colors: {
  custom: {
    50: '#687eb0',
    500: '#124d8f',
    950: '#000000',
  },
}
SCSS
$custom: #124d8f;
$custom-light: #687eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#124d8f",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 211.68,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.12379,
    "h": 254.9
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#124D8F
secondary
#C3823A
accent
#9934F4
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #124D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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