#152F4A#152F4A

#152F4A is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.059 H 251.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#152F4A
RGBrgb(21, 47, 74)
HSLhsl(211, 56%, 19%)
HSVhsv(211, 72%, 29%)
CMYKcmyk(71.6%, 36.5%, 0%, 71%)
CIE-LABlab(18.74, 0.15, -19.69)
CIE-LCHlch(18.74, 19.69, 270.45°)
OKLaboklab(29.92% -0.019 -0.0557)
OKLCHoklch(29.92% 0.059 251.2)
XYZxyz(2.5614, 2.6866, 6.8608)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F4A #4A3015
analogous
#15494A #152F4A #15154A
triadic
#152F4A #4A152F #2F4A15
tetradic
#152F4A #4A1549 #4A3015 #154A15
square
#152F4A #4A1549 #4A3015 #154A15
split-complementary
#152F4A #4A1515 #494A15
monochromatic
#070F18 #07111A #152F4A #234D7A #306CA9

Accessibility & contrast

On white

13.66
#152F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F4A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F4A#FFFFFF#000000##FFFFFF
##152F4A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304B
Deuteranopia (green-blind)
#1C2B49
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152f4a;
/* rgb */ color: rgb(21, 47, 74);
/* oklch */ color: oklch(29.9% 0.059 251.2);
Tailwind
colors: {
  custom: {
    50: '#59677c',
    500: '#152f4a',
    950: '#000000',
  },
}
SCSS
$custom: #152f4a;
$custom-light: #59677c;
$custom-dark: #000000;
JSON
{
  "hex": "#152f4a",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 210.566,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29915,
    "c": 0.05885,
    "h": 251.2
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#152F4A
secondary
#825E39
accent
#9549DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #152F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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