#152F4F#152F4F

#152F4F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.2% C 0.067 H 254.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#152F4F
RGBrgb(21, 47, 79)
HSLhsl(213, 58%, 20%)
HSVhsv(213, 73%, 31%)
CMYKcmyk(73.4%, 40.5%, 0%, 69%)
CIE-LABlab(19.04, 2.20, -22.59)
CIE-LCHlch(19.04, 22.69, 275.57°)
OKLaboklab(30.25% -0.0174 -0.0642)
OKLCHoklch(30.25% 0.067 254.8)
XYZxyz(2.7365, 2.7567, 7.7835)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F4F #4F3515
analogous
#154C4F #152F4F #18154F
triadic
#152F4F #4F152F #2F4F15
tetradic
#152F4F #4F154C #4F3515 #154F18
square
#152F4F #4F154C #4F3515 #154F18
split-complementary
#152F4F #4F1815 #4C4F15
monochromatic
#060E18 #08121F #152F4F #224C7F #2F69B0

Accessibility & contrast

On white

13.54
#152F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F4F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F4F#FFFFFF#000000##FFFFFF
##152F4F1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213150
Deuteranopia (green-blind)
#182C4E
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152f4f;
/* rgb */ color: rgb(21, 47, 79);
/* oklch */ color: oklch(30.2% 0.067 254.8);
Tailwind
colors: {
  custom: {
    50: '#5a6780',
    500: '#152f4f',
    950: '#000000',
  },
}
SCSS
$custom: #152f4f;
$custom-light: #5a6780;
$custom-dark: #000000;
JSON
{
  "hex": "#152f4f",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 213.103,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30248,
    "c": 0.0665,
    "h": 254.8
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#152F4F
secondary
#876439
accent
#9C47E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #152F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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