#152249#152249

#152249 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.075 H 267.3°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#152249
RGBrgb(21, 34, 73)
HSLhsl(225, 55%, 18%)
HSVhsv(225, 71%, 29%)
CMYKcmyk(71.2%, 53.4%, 0%, 71.4%)
CIE-LABlab(14.31, 9.28, -26.05)
CIE-LCHlch(14.31, 27.65, 289.60°)
OKLaboklab(26.46% -0.0035 -0.0746)
OKLCHoklch(26.46% 0.075 267.3)
XYZxyz(2.0835, 1.7843, 6.5367)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152249 #493C15
analogous
#153C49 #152249 #221549
triadic
#152249 #491522 #224915
tetradic
#152249 #49153C #493C15 #154922
square
#152249 #49153C #493C15 #154922
split-complementary
#152249 #492215 #3C4915
monochromatic
#070B18 #070C19 #152249 #233879 #304EA8

Accessibility & contrast

On white

15.48
#152249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#152249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152249
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152249#FFFFFF#000000##FFFFFF
##1522491.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274A
Deuteranopia (green-blind)
#042248
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #152249;
/* rgb */ color: rgb(21, 34, 73);
/* oklch */ color: oklch(26.5% 0.075 267.3);
Tailwind
colors: {
  custom: {
    50: '#595c7c',
    500: '#152249',
    950: '#000000',
  },
}
SCSS
$custom: #152249;
$custom-light: #595c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#152249",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 225,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26464,
    "c": 0.07464,
    "h": 267.3
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#152249
secondary
#816F39
accent
#B949DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #152249

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

Preview Lab → · Contrast checker → · Palette generator →

#152249 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva