#152B48#152B48

#152B48 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.060 H 256.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#152B48
RGBrgb(21, 43, 72)
HSLhsl(214, 55%, 18%)
HSVhsv(214, 71%, 28%)
CMYKcmyk(70.8%, 40.3%, 0%, 71.8%)
CIE-LABlab(17.25, 2.19, -20.68)
CIE-LCHlch(17.25, 20.80, 276.05°)
OKLaboklab(28.71% -0.0146 -0.0587)
OKLCHoklch(28.71% 0.06 256)
XYZxyz(2.3424, 2.3548, 6.4607)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B48 #483215
analogous
#154448 #152B48 #181548
triadic
#152B48 #48152B #2B4815
tetradic
#152B48 #481544 #483215 #154818
square
#152B48 #481544 #483215 #154818
split-complementary
#152B48 #481815 #444815
monochromatic
#070E18 #070F19 #152B48 #234777 #3164A7

Accessibility & contrast

On white

14.28
#152B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B48
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B48#FFFFFF#000000##FFFFFF
##152B481.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D49
Deuteranopia (green-blind)
#172847
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152b48;
/* rgb */ color: rgb(21, 43, 72);
/* oklch */ color: oklch(28.7% 0.060 256.0);
Tailwind
colors: {
  custom: {
    50: '#58647b',
    500: '#152b48',
    950: '#000000',
  },
}
SCSS
$custom: #152b48;
$custom-light: #58647b;
$custom-dark: #000000;
JSON
{
  "hex": "#152b48",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 72
  },
  "hsl": {
    "h": 214.118,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28708,
    "c": 0.06047,
    "h": 256
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#152B48
secondary
#806139
accent
#9E4ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #152B48

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

Preview Lab → · Contrast checker → · Palette generator →

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