#124157#124157

#124157 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.5% C 0.062 H 233.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#124157
RGBrgb(18, 65, 87)
HSLhsl(199, 66%, 21%)
HSVhsv(199, 79%, 34%)
CMYKcmyk(79.3%, 25.3%, 0%, 65.9%)
CIE-LABlab(25.55, -7.26, -17.68)
CIE-LCHlch(25.55, 19.11, 247.68°)
OKLaboklab(35.5% -0.0375 -0.0497)
OKLCHoklch(35.5% 0.062 233)
XYZxyz(3.8594, 4.5969, 9.6989)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124157 #572812
analogous
#12574A #124157 #121F57
triadic
#124157 #571241 #415712
tetradic
#124157 #4A1257 #572812 #1F5712
square
#124157 #4A1257 #572812 #1F5712
split-complementary
#124157 #57121F #574A12
monochromatic
#051319 #081B24 #124157 #1C678A #278DBC

Accessibility & contrast

On white

10.94
#124157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124157
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124157#FFFFFF#000000##FFFFFF
##1241571.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364058
Deuteranopia (green-blind)
#2D3A57
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124157;
/* rgb */ color: rgb(18, 65, 87);
/* oklch */ color: oklch(35.5% 0.062 233.0);
Tailwind
colors: {
  custom: {
    50: '#5b7586',
    500: '#124157',
    950: '#000000',
  },
}
SCSS
$custom: #124157;
$custom-light: #5b7586;
$custom-dark: #000000;
JSON
{
  "hex": "#124157",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 199.13,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.35502,
    "c": 0.06229,
    "h": 233
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#124157
secondary
#905235
accent
#753FE9
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #124157

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

Preview Lab → · Contrast checker → · Palette generator →

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