#152E49#152E49

#152E49 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.058 H 252.0°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#152E49
RGBrgb(21, 46, 73)
HSLhsl(211, 55%, 18%)
HSVhsv(211, 71%, 29%)
CMYKcmyk(71.2%, 37%, 0%, 71.4%)
CIE-LABlab(18.34, 0.45, -19.64)
CIE-LCHlch(18.34, 19.65, 271.32°)
OKLaboklab(29.58% -0.0181 -0.0556)
OKLCHoklch(29.58% 0.058 252)
XYZxyz(2.4884, 2.5942, 6.6716)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E49 #493015
analogous
#154849 #152E49 #161549
triadic
#152E49 #49152E #2E4915
tetradic
#152E49 #491548 #493015 #154916
square
#152E49 #491548 #493015 #154916
split-complementary
#152E49 #491615 #484915
monochromatic
#070F18 #071019 #152E49 #234C79 #306AA8

Accessibility & contrast

On white

13.83
#152E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E49
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E49#FFFFFF#000000##FFFFFF
##152E491.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222F4A
Deuteranopia (green-blind)
#1B2A48
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152e49;
/* rgb */ color: rgb(21, 46, 73);
/* oklch */ color: oklch(29.6% 0.058 252.0);
Tailwind
colors: {
  custom: {
    50: '#59667c',
    500: '#152e49',
    950: '#000000',
  },
}
SCSS
$custom: #152e49;
$custom-light: #59667c;
$custom-dark: #000000;
JSON
{
  "hex": "#152e49",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 73
  },
  "hsl": {
    "h": 211.154,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2958,
    "c": 0.05845,
    "h": 252
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#152E49
secondary
#815E39
accent
#9749DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #152E49

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

Preview Lab → · Contrast checker → · Palette generator →

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