#152A59#152A59

#152A59 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.089 H 263.7°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#152A59
RGBrgb(21, 42, 89)
HSLhsl(221, 62%, 22%)
HSVhsv(221, 76%, 35%)
CMYKcmyk(76.4%, 52.8%, 0%, 65.1%)
CIE-LABlab(18.08, 10.05, -30.82)
CIE-LCHlch(18.08, 32.41, 288.05°)
OKLaboklab(29.73% -0.0097 -0.0884)
OKLCHoklch(29.73% 0.089 263.7)
XYZxyz(2.9398, 2.5363, 9.7839)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A59 #594415
analogous
#154C59 #152A59 #221559
triadic
#152A59 #59152A #2A5915
tetradic
#152A59 #59154C #594415 #155922
square
#152A59 #59154C #594415 #155922
split-complementary
#152A59 #592215 #4C5915
monochromatic
#060C19 #091327 #152A59 #21418B #2C59BC

Accessibility & contrast

On white

13.93
#152A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152A59
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A59#FFFFFF#000000##FFFFFF
##152A591.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F5B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152a59;
/* rgb */ color: rgb(21, 42, 89);
/* oklch */ color: oklch(29.7% 0.089 263.7);
Tailwind
colors: {
  custom: {
    50: '#5d6388',
    500: '#152a59',
    950: '#000000',
  },
}
SCSS
$custom: #152a59;
$custom-light: #5d6388;
$custom-dark: #000000;
JSON
{
  "hex": "#152a59",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 89
  },
  "hsl": {
    "h": 221.471,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.08897,
    "h": 263.7
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#152A59
secondary
#917639
accent
#B343E5
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #152A59

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

Preview Lab → · Contrast checker → · Palette generator →

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