#152B42#152B42

#152B42 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.051 H 251.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#152B42
RGBrgb(21, 43, 66)
HSLhsl(211, 52%, 17%)
HSVhsv(211, 68%, 26%)
CMYKcmyk(68.2%, 34.8%, 0%, 74.1%)
CIE-LABlab(16.89, -0.24, -17.13)
CIE-LCHlch(16.89, 17.13, 269.18°)
OKLaboklab(28.32% -0.0166 -0.0483)
OKLCHoklch(28.32% 0.051 251)
XYZxyz(2.1562, 2.2803, 5.4797)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B42 #422C15
analogous
#154242 #152B42 #161542
triadic
#152B42 #42152B #2B4215
tetradic
#152B42 #421542 #422C15 #154216
square
#152B42 #421542 #422C15 #154216
split-complementary
#152B42 #421615 #424215
monochromatic
#070F17 #070F17 #152B42 #244970 #33679F

Accessibility & contrast

On white

14.42
#152B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#152B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B42
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B42#FFFFFF#000000##FFFFFF
##152B421.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#1B2842
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152b42;
/* rgb */ color: rgb(21, 43, 66);
/* oklch */ color: oklch(28.3% 0.051 251.0);
Tailwind
colors: {
  custom: {
    50: '#576476',
    500: '#152b42',
    950: '#000000',
  },
}
SCSS
$custom: #152b42;
$custom-light: #576476;
$custom-dark: #000000;
JSON
{
  "hex": "#152b42",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 66
  },
  "hsl": {
    "h": 210.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28315,
    "c": 0.05109,
    "h": 251
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#152B42
secondary
#7A5A39
accent
#954DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #152B42

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

Preview Lab → · Contrast checker → · Palette generator →

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