#124057#124057

#124057 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.2% C 0.063 H 234.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#124057
RGBrgb(18, 64, 87)
HSLhsl(200, 66%, 21%)
HSVhsv(200, 79%, 34%)
CMYKcmyk(79.3%, 26.4%, 0%, 65.9%)
CIE-LABlab(25.21, -6.61, -18.21)
CIE-LCHlch(25.21, 19.38, 250.04°)
OKLaboklab(35.23% -0.0364 -0.0513)
OKLCHoklch(35.23% 0.063 234.6)
XYZxyz(3.8025, 4.4831, 9.6799)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124057 #572912
analogous
#12574B #124057 #121D57
triadic
#124057 #571240 #405712
tetradic
#124057 #4B1257 #572912 #1D5712
square
#124057 #4B1257 #572912 #1D5712
split-complementary
#124057 #57121D #574B12
monochromatic
#051319 #081B24 #124057 #1C658A #278BBC

Accessibility & contrast

On white

11.07
#124057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#124057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124057
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124057#FFFFFF#000000##FFFFFF
##1240571.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F58
Deuteranopia (green-blind)
#2B3957
Tritanopia (blue-blind)
#004648
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124057;
/* rgb */ color: rgb(18, 64, 87);
/* oklch */ color: oklch(35.2% 0.063 234.6);
Tailwind
colors: {
  custom: {
    50: '#5b7486',
    500: '#124057',
    950: '#000000',
  },
}
SCSS
$custom: #124057;
$custom-light: #5b7486;
$custom-dark: #000000;
JSON
{
  "hex": "#124057",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 87
  },
  "hsl": {
    "h": 200,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.35227,
    "c": 0.06288,
    "h": 234.6
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#124057
secondary
#905335
accent
#783FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124057

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

Preview Lab → · Contrast checker → · Palette generator →

#124057 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva