#152C4E#152C4E

#152C4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.069 H 258.1°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#152C4E
RGBrgb(21, 44, 78)
HSLhsl(216, 58%, 19%)
HSVhsv(216, 73%, 31%)
CMYKcmyk(73.1%, 43.6%, 0%, 69.4%)
CIE-LABlab(17.97, 3.95, -23.62)
CIE-LCHlch(17.97, 23.95, 279.49°)
OKLaboklab(29.39% -0.0142 -0.0672)
OKLCHoklch(29.39% 0.069 258.1)
XYZxyz(2.5846, 2.5106, 7.5546)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C4E #4E3715
analogous
#15494E #152C4E #1A154E
triadic
#152C4E #4E152C #2C4E15
tetradic
#152C4E #4E1549 #4E3715 #154E1A
square
#152C4E #4E1549 #4E3715 #154E1A
split-complementary
#152C4E #4E1A15 #494E15
monochromatic
#060E18 #08111E #152C4E #22477E #2F62AE

Accessibility & contrast

On white

13.98
#152C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#152C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C4E
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C4E#FFFFFF#000000##FFFFFF
##152C4E1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152c4e;
/* rgb */ color: rgb(21, 44, 78);
/* oklch */ color: oklch(29.4% 0.069 258.1);
Tailwind
colors: {
  custom: {
    50: '#5a6480',
    500: '#152c4e',
    950: '#000000',
  },
}
SCSS
$custom: #152c4e;
$custom-light: #5a6480;
$custom-dark: #000000;
JSON
{
  "hex": "#152c4e",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 215.789,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2939,
    "c": 0.06872,
    "h": 258.1
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#152C4E
secondary
#866739
accent
#A347E1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #152C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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