#124557#124557

#124557 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 36.6% C 0.061 H 226.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#124557
RGBrgb(18, 69, 87)
HSLhsl(196, 66%, 21%)
HSVhsv(196, 79%, 34%)
CMYKcmyk(79.3%, 20.7%, 0%, 65.9%)
CIE-LABlab(26.94, -9.77, -15.53)
CIE-LCHlch(26.94, 18.35, 237.82°)
OKLaboklab(36.61% -0.0421 -0.0435)
OKLCHoklch(36.61% 0.061 226)
XYZxyz(4.0972, 5.0725, 9.7781)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124557 #572412
analogous
#125746 #124557 #122257
triadic
#124557 #571245 #455712
tetradic
#124557 #461257 #572412 #225712
square
#124557 #461257 #572412 #225712
split-complementary
#124557 #571222 #574612
monochromatic
#051419 #081D24 #124557 #1C6D8A #2795BC

Accessibility & contrast

On white

10.42
#124557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124557
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124557#FFFFFF#000000##FFFFFF
##1245571.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4358
Deuteranopia (green-blind)
#323D57
Tritanopia (blue-blind)
#004A4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124557;
/* rgb */ color: rgb(18, 69, 87);
/* oklch */ color: oklch(36.6% 0.061 226.0);
Tailwind
colors: {
  custom: {
    50: '#5b7886',
    500: '#124557',
    950: '#000000',
  },
}
SCSS
$custom: #124557;
$custom-light: #5b7886;
$custom-dark: #000000;
JSON
{
  "hex": "#124557",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 87
  },
  "hsl": {
    "h": 195.652,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3661,
    "c": 0.06053,
    "h": 226
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#124557
secondary
#904D35
accent
#6B3FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #124557

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

Preview Lab → · Contrast checker → · Palette generator →

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