#152F4B#152F4B

#152F4B is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.060 H 252.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#152F4B
RGBrgb(21, 47, 75)
HSLhsl(211, 56%, 19%)
HSVhsv(211, 72%, 29%)
CMYKcmyk(72%, 37.3%, 0%, 70.6%)
CIE-LABlab(18.80, 0.56, -20.27)
CIE-LCHlch(18.80, 20.28, 271.58°)
OKLaboklab(29.98% -0.0186 -0.0574)
OKLCHoklch(29.98% 0.06 252)
XYZxyz(2.5953, 2.7002, 7.0397)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F4B #4B3115
analogous
#154A4B #152F4B #16154B
triadic
#152F4B #4B152F #2F4B15
tetradic
#152F4B #4B154A #4B3115 #154B16
square
#152F4B #4B154A #4B3115 #154B16
split-complementary
#152F4B #4B1615 #4A4B15
monochromatic
#070F18 #08111B #152F4B #224D7B #306BAB

Accessibility & contrast

On white

13.64
#152F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#152F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F4B
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F4B#FFFFFF#000000##FFFFFF
##152F4B1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314C
Deuteranopia (green-blind)
#1B2B4A
Tritanopia (blue-blind)
#003639
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152f4b;
/* rgb */ color: rgb(21, 47, 75);
/* oklch */ color: oklch(30.0% 0.060 252.0);
Tailwind
colors: {
  custom: {
    50: '#59677d',
    500: '#152f4b',
    950: '#000000',
  },
}
SCSS
$custom: #152f4b;
$custom-light: #59677d;
$custom-dark: #000000;
JSON
{
  "hex": "#152f4b",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 211.111,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2998,
    "c": 0.06036,
    "h": 252
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#152F4B
secondary
#835F39
accent
#9748E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #152F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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