#124457#124457

#124457 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.3% C 0.061 H 227.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#124457
RGBrgb(18, 68, 87)
HSLhsl(197, 66%, 21%)
HSVhsv(197, 79%, 34%)
CMYKcmyk(79.3%, 21.8%, 0%, 65.9%)
CIE-LABlab(26.59, -9.15, -16.06)
CIE-LCHlch(26.59, 18.49, 240.33°)
OKLaboklab(36.33% -0.0409 -0.0451)
OKLCHoklch(36.33% 0.061 227.7)
XYZxyz(4.0362, 4.9505, 9.7578)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124457 #572512
analogous
#125747 #124457 #122157
triadic
#124457 #571244 #445712
tetradic
#124457 #471257 #572512 #215712
square
#124457 #471257 #572512 #215712
split-complementary
#124457 #571221 #574712
monochromatic
#051419 #081C24 #124457 #1C6C8A #2793BC

Accessibility & contrast

On white

10.55
#124457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#124457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124457
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124457#FFFFFF#000000##FFFFFF
##1244571.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#313C57
Tritanopia (blue-blind)
#00494A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124457;
/* rgb */ color: rgb(18, 68, 87);
/* oklch */ color: oklch(36.3% 0.061 227.7);
Tailwind
colors: {
  custom: {
    50: '#5b7886',
    500: '#124457',
    950: '#000000',
  },
}
SCSS
$custom: #124457;
$custom-light: #5b7886;
$custom-dark: #000000;
JSON
{
  "hex": "#124457",
  "rgb": {
    "r": 18,
    "g": 68,
    "b": 87
  },
  "hsl": {
    "h": 196.522,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.36332,
    "c": 0.06087,
    "h": 227.7
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#124457
secondary
#904E35
accent
#6E3FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124457

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

Preview Lab → · Contrast checker → · Palette generator →

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