#124152#124152

#124152 is a dark, muted cyan. Relative luminance 0.045; OKLCH L 35.2% C 0.057 H 226.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#124152
RGBrgb(18, 65, 82)
HSLhsl(196, 64%, 20%)
HSVhsv(196, 78%, 32%)
CMYKcmyk(78%, 20.7%, 0%, 67.8%)
CIE-LABlab(25.31, -9.21, -14.78)
CIE-LCHlch(25.31, 17.41, 238.08°)
OKLaboklab(35.23% -0.0396 -0.0414)
OKLCHoklch(35.23% 0.057 226.2)
XYZxyz(3.6621, 4.5180, 8.6601)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124152 #522312
analogous
#125243 #124152 #122152
triadic
#124152 #521241 #415212
tetradic
#124152 #431252 #522312 #215212
square
#124152 #431252 #522312 #215212
split-complementary
#124152 #521221 #524312
monochromatic
#061419 #071920 #124152 #1D6984 #2891B6

Accessibility & contrast

On white

11.03
#124152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124152
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124152#FFFFFF#000000##FFFFFF
##1241521.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#2F3952
Tritanopia (blue-blind)
#004647
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124152;
/* rgb */ color: rgb(18, 65, 82);
/* oklch */ color: oklch(35.2% 0.057 226.2);
Tailwind
colors: {
  custom: {
    50: '#5a7582',
    500: '#124152',
    950: '#000000',
  },
}
SCSS
$custom: #124152;
$custom-light: #5a7582;
$custom-dark: #000000;
JSON
{
  "hex": "#124152",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 82
  },
  "hsl": {
    "h": 195.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.35232,
    "c": 0.0573,
    "h": 226.2
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#124152
secondary
#8B4C35
accent
#6D41E7
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #124152

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

Preview Lab → · Contrast checker → · Palette generator →

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