#124156#124156

#124156 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.4% C 0.061 H 231.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#124156
RGBrgb(18, 65, 86)
HSLhsl(199, 65%, 20%)
HSVhsv(199, 79%, 34%)
CMYKcmyk(79.1%, 24.4%, 0%, 66.3%)
CIE-LABlab(25.50, -7.65, -17.10)
CIE-LCHlch(25.50, 18.73, 245.90°)
OKLaboklab(35.45% -0.0379 -0.0481)
OKLCHoklch(35.45% 0.061 231.7)
XYZxyz(3.8188, 4.5806, 9.4852)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124156 #562712
analogous
#125649 #124156 #121F56
triadic
#124156 #561241 #415612
tetradic
#124156 #491256 #562712 #1F5612
square
#124156 #491256 #562712 #1F5612
split-complementary
#124156 #56121F #564912
monochromatic
#051319 #071B23 #124156 #1D6789 #278EBB

Accessibility & contrast

On white

10.96
#124156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#124156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124156
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124156#FFFFFF#000000##FFFFFF
##1241561.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364057
Deuteranopia (green-blind)
#2D3A56
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124156;
/* rgb */ color: rgb(18, 65, 86);
/* oklch */ color: oklch(35.4% 0.061 231.7);
Tailwind
colors: {
  custom: {
    50: '#5b7585',
    500: '#124156',
    950: '#000000',
  },
}
SCSS
$custom: #124156;
$custom-light: #5b7585;
$custom-dark: #000000;
JSON
{
  "hex": "#124156",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 86
  },
  "hsl": {
    "h": 198.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.35447,
    "c": 0.06122,
    "h": 231.7
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#124156
secondary
#8F5135
accent
#743FE8
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124156

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

Preview Lab → · Contrast checker → · Palette generator →

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