#152B49#152B49

#152B49 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.062 H 256.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#152B49
RGBrgb(21, 43, 73)
HSLhsl(215, 55%, 18%)
HSVhsv(215, 71%, 29%)
CMYKcmyk(71.2%, 41.1%, 0%, 71.4%)
CIE-LABlab(17.31, 2.60, -21.27)
CIE-LCHlch(17.31, 21.42, 276.98°)
OKLaboklab(28.78% -0.0143 -0.0604)
OKLCHoklch(28.78% 0.062 256.6)
XYZxyz(2.3753, 2.3680, 6.6339)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B49 #493315
analogous
#154549 #152B49 #191549
triadic
#152B49 #49152B #2B4915
tetradic
#152B49 #491545 #493315 #154919
square
#152B49 #491545 #493315 #154919
split-complementary
#152B49 #491915 #454915
monochromatic
#070E18 #070F19 #152B49 #234779 #3063A8

Accessibility & contrast

On white

14.25
#152B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#152B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B49
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B49#FFFFFF#000000##FFFFFF
##152B491.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D4A
Deuteranopia (green-blind)
#172848
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152b49;
/* rgb */ color: rgb(21, 43, 73);
/* oklch */ color: oklch(28.8% 0.062 256.6);
Tailwind
colors: {
  custom: {
    50: '#59647c',
    500: '#152b49',
    950: '#000000',
  },
}
SCSS
$custom: #152b49;
$custom-light: #59647c;
$custom-dark: #000000;
JSON
{
  "hex": "#152b49",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 73
  },
  "hsl": {
    "h": 214.615,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28776,
    "c": 0.06206,
    "h": 256.6
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#152B49
secondary
#816239
accent
#9F49DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #152B49

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

Preview Lab → · Contrast checker → · Palette generator →

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