#152A41#152A41

#152A41 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.051 H 252.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#152A41
RGBrgb(21, 42, 65)
HSLhsl(211, 51%, 17%)
HSVhsv(211, 68%, 25%)
CMYKcmyk(67.7%, 35.4%, 0%, 74.5%)
CIE-LABlab(16.49, 0.07, -17.07)
CIE-LCHlch(16.49, 17.07, 270.23°)
OKLaboklab(27.98% -0.0156 -0.0482)
OKLCHoklch(27.98% 0.051 252)
XYZxyz(2.0910, 2.1968, 5.3138)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A41 #412C15
analogous
#154041 #152A41 #161541
triadic
#152A41 #41152A #2A4115
tetradic
#152A41 #411540 #412C15 #154116
square
#152A41 #411540 #412C15 #154116
split-complementary
#152A41 #411615 #404115
monochromatic
#070F17 #070F17 #152A41 #24486F #33669E

Accessibility & contrast

On white

14.59
#152A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#152A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A41
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A41#FFFFFF#000000##FFFFFF
##152A411.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B42
Deuteranopia (green-blind)
#1A2741
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152a41;
/* rgb */ color: rgb(21, 42, 65);
/* oklch */ color: oklch(28.0% 0.051 252.0);
Tailwind
colors: {
  custom: {
    50: '#576375',
    500: '#152a41',
    950: '#000000',
  },
}
SCSS
$custom: #152a41;
$custom-light: #576375;
$custom-dark: #000000;
JSON
{
  "hex": "#152a41",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 65
  },
  "hsl": {
    "h": 211.364,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27977,
    "c": 0.05065,
    "h": 252
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#152A41
secondary
#795A39
accent
#974DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #152A41

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

Preview Lab → · Contrast checker → · Palette generator →

#152A41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva