#152C4F#152C4F

#152C4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.070 H 258.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#152C4F
RGBrgb(21, 44, 79)
HSLhsl(216, 58%, 20%)
HSVhsv(216, 73%, 31%)
CMYKcmyk(73.4%, 44.3%, 0%, 69%)
CIE-LABlab(18.03, 4.37, -24.19)
CIE-LCHlch(18.03, 24.58, 280.23°)
OKLaboklab(29.46% -0.0139 -0.0689)
OKLCHoklch(29.46% 0.07 258.6)
XYZxyz(2.6207, 2.5250, 7.7449)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C4F #4F3815
analogous
#15494F #152C4F #1B154F
triadic
#152C4F #4F152C #2C4F15
tetradic
#152C4F #4F1549 #4F3815 #154F1B
square
#152C4F #4F1549 #4F3815 #154F1B
split-complementary
#152C4F #4F1B15 #494F15
monochromatic
#060D18 #08111F #152C4F #22477F #2F62B0

Accessibility & contrast

On white

13.95
#152C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152C4F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C4F#FFFFFF#000000##FFFFFF
##152C4F1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#132A4E
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152c4f;
/* rgb */ color: rgb(21, 44, 79);
/* oklch */ color: oklch(29.5% 0.070 258.6);
Tailwind
colors: {
  custom: {
    50: '#5a6480',
    500: '#152c4f',
    950: '#000000',
  },
}
SCSS
$custom: #152c4f;
$custom-light: #5a6480;
$custom-dark: #000000;
JSON
{
  "hex": "#152c4f",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 79
  },
  "hsl": {
    "h": 216.207,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29461,
    "c": 0.07032,
    "h": 258.6
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#152C4F
secondary
#876839
accent
#A447E1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #152C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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