#124E5B#124E5B

#124E5B is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.3% C 0.062 H 215.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#124E5B
RGBrgb(18, 78, 91)
HSLhsl(191, 67%, 21%)
HSVhsv(191, 80%, 36%)
CMYKcmyk(80.2%, 14.3%, 0%, 64.3%)
CIE-LABlab(30.24, -13.69, -13.04)
CIE-LCHlch(30.24, 18.91, 223.61°)
OKLaboklab(39.31% -0.0505 -0.0364)
OKLCHoklch(39.31% 0.062 215.8)
XYZxyz(4.8614, 6.3321, 10.8615)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E5B #5B1F12
analogous
#125B44 #124E5B #122A5B
triadic
#124E5B #5B124E #4E5B12
tetradic
#124E5B #44125B #5B1F12 #2A5B12
square
#124E5B #44125B #5B1F12 #2A5B12
split-complementary
#124E5B #5B122A #5B4412
monochromatic
#05161A #082228 #124E5B #1C7A8E #26A6C1

Accessibility & contrast

On white

9.26
#124E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#124E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E5B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E5B#FFFFFF#000000##FFFFFF
##124E5B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5C
Deuteranopia (green-blind)
#3B445B
Tritanopia (blue-blind)
#005352
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #124e5b;
/* rgb */ color: rgb(18, 78, 91);
/* oklch */ color: oklch(39.3% 0.062 215.8);
Tailwind
colors: {
  custom: {
    50: '#5d7f89',
    500: '#124e5b',
    950: '#000000',
  },
}
SCSS
$custom: #124e5b;
$custom-light: #5d7f89;
$custom-dark: #000000;
JSON
{
  "hex": "#124e5b",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 91
  },
  "hsl": {
    "h": 190.685,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.06222,
    "h": 215.8
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#124E5B
secondary
#934635
accent
#5D3EEA
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #124E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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