#152E4B#152E4B

#152E4B is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.7% C 0.062 H 253.5°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#152E4B
RGBrgb(21, 46, 75)
HSLhsl(212, 56%, 19%)
HSVhsv(212, 72%, 29%)
CMYKcmyk(72%, 38.7%, 0%, 70.6%)
CIE-LABlab(18.46, 1.27, -20.81)
CIE-LCHlch(18.46, 20.85, 273.49°)
OKLaboklab(29.71% -0.0174 -0.059)
OKLCHoklch(29.71% 0.062 253.5)
XYZxyz(2.5558, 2.6212, 7.0265)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E4B #4B3215
analogous
#15494B #152E4B #17154B
triadic
#152E4B #4B152E #2E4B15
tetradic
#152E4B #4B1549 #4B3215 #154B17
square
#152E4B #4B1549 #4B3215 #154B17
split-complementary
#152E4B #4B1715 #494B15
monochromatic
#070F18 #08111B #152E4B #224B7B #3069AB

Accessibility & contrast

On white

13.78
#152E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E4B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E4B#FFFFFF#000000##FFFFFF
##152E4B1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304C
Deuteranopia (green-blind)
#1A2B4A
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152e4b;
/* rgb */ color: rgb(21, 46, 75);
/* oklch */ color: oklch(29.7% 0.062 253.5);
Tailwind
colors: {
  custom: {
    50: '#59667d',
    500: '#152e4b',
    950: '#000000',
  },
}
SCSS
$custom: #152e4b;
$custom-light: #59667d;
$custom-dark: #000000;
JSON
{
  "hex": "#152e4b",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 212.222,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29712,
    "c": 0.06152,
    "h": 253.5
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#152E4B
secondary
#836139
accent
#9A48E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #152E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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