#152E5B#152E5B

#152E5B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.087 H 261.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#152E5B
RGBrgb(21, 46, 91)
HSLhsl(219, 63%, 22%)
HSVhsv(219, 77%, 36%)
CMYKcmyk(76.9%, 49.5%, 0%, 64.3%)
CIE-LABlab(19.51, 7.95, -29.85)
CIE-LCHlch(19.51, 30.89, 284.92°)
OKLaboklab(30.87% -0.0134 -0.0855)
OKLCHoklch(30.87% 0.087 261.1)
XYZxyz(3.1739, 2.8684, 10.2819)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E5B #5B4215
analogous
#15515B #152E5B #1F155B
triadic
#152E5B #5B152E #2E5B15
tetradic
#152E5B #5B1551 #5B4215 #155B1F
square
#152E5B #5B1551 #5B4215 #155B1F
split-complementary
#152E5B #5B1F15 #515B15
monochromatic
#060D19 #0A1529 #152E5B #20478D #2C60BE

Accessibility & contrast

On white

13.34
#152E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E5B
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E5B#FFFFFF#000000##FFFFFF
##152E5B1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335D
Deuteranopia (green-blind)
#082C5A
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152e5b;
/* rgb */ color: rgb(21, 46, 91);
/* oklch */ color: oklch(30.9% 0.087 261.1);
Tailwind
colors: {
  custom: {
    50: '#5d668a',
    500: '#152e5b',
    950: '#000000',
  },
}
SCSS
$custom: #152e5b;
$custom-light: #5d668a;
$custom-dark: #000000;
JSON
{
  "hex": "#152e5b",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 218.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30868,
    "c": 0.08657,
    "h": 261.1
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#152E5B
secondary
#927339
accent
#AB42E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #152E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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