#152D4B#152D4B

#152D4B is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.4% C 0.063 H 255.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#152D4B
RGBrgb(21, 45, 75)
HSLhsl(213, 56%, 19%)
HSVhsv(213, 72%, 29%)
CMYKcmyk(72%, 40%, 0%, 70.6%)
CIE-LABlab(18.12, 1.98, -21.35)
CIE-LCHlch(18.12, 21.44, 275.31°)
OKLaboklab(29.45% -0.0162 -0.0606)
OKLCHoklch(29.45% 0.063 255)
XYZxyz(2.5172, 2.5440, 7.0136)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D4B #4B3315
analogous
#15484B #152D4B #18154B
triadic
#152D4B #4B152D #2D4B15
tetradic
#152D4B #4B1548 #4B3315 #154B18
square
#152D4B #4B1548 #4B3315 #154B18
split-complementary
#152D4B #4B1815 #484B15
monochromatic
#070E18 #08101B #152D4B #224A7B #3066AB

Accessibility & contrast

On white

13.92
#152D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#152D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D4B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D4B#FFFFFF#000000##FFFFFF
##152D4B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202F4C
Deuteranopia (green-blind)
#182A4A
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152d4b;
/* rgb */ color: rgb(21, 45, 75);
/* oklch */ color: oklch(29.4% 0.063 255.0);
Tailwind
colors: {
  custom: {
    50: '#59657d',
    500: '#152d4b',
    950: '#000000',
  },
}
SCSS
$custom: #152d4b;
$custom-light: #59657d;
$custom-dark: #000000;
JSON
{
  "hex": "#152d4b",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 213.333,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29445,
    "c": 0.06273,
    "h": 255
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#152D4B
secondary
#836239
accent
#9C48E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #152D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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