#152A49#152A49

#152A49 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.063 H 258.0°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#152A49
RGBrgb(21, 42, 73)
HSLhsl(216, 55%, 18%)
HSVhsv(216, 71%, 29%)
CMYKcmyk(71.2%, 42.5%, 0%, 71.4%)
CIE-LABlab(16.97, 3.33, -21.81)
CIE-LCHlch(16.97, 22.06, 278.68°)
OKLaboklab(28.51% -0.0131 -0.062)
OKLCHoklch(28.51% 0.063 258)
XYZxyz(2.3394, 2.2962, 6.6220)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A49 #493415
analogous
#154449 #152A49 #1A1549
triadic
#152A49 #49152A #2A4915
tetradic
#152A49 #491544 #493415 #15491A
square
#152A49 #491544 #493415 #15491A
split-complementary
#152A49 #491A15 #444915
monochromatic
#070E18 #070F19 #152A49 #234579 #3061A8

Accessibility & contrast

On white

14.39
#152A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#152A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A49
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A49#FFFFFF#000000##FFFFFF
##152A491.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C4A
Deuteranopia (green-blind)
#152848
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152a49;
/* rgb */ color: rgb(21, 42, 73);
/* oklch */ color: oklch(28.5% 0.063 258.0);
Tailwind
colors: {
  custom: {
    50: '#59637c',
    500: '#152a49',
    950: '#000000',
  },
}
SCSS
$custom: #152a49;
$custom-light: #59637c;
$custom-dark: #000000;
JSON
{
  "hex": "#152a49",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 215.769,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28512,
    "c": 0.06334,
    "h": 258
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#152A49
secondary
#816439
accent
#A249DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #152A49

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

Preview Lab → · Contrast checker → · Palette generator →

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