#152B4F#152B4F

#152B4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.2% C 0.072 H 259.8°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#152B4F
RGBrgb(21, 43, 79)
HSLhsl(217, 58%, 20%)
HSVhsv(217, 73%, 31%)
CMYKcmyk(73.4%, 45.6%, 0%, 69%)
CIE-LABlab(17.70, 5.10, -24.72)
CIE-LCHlch(17.70, 25.24, 281.64°)
OKLaboklab(29.2% -0.0127 -0.0705)
OKLCHoklch(29.2% 0.072 259.8)
XYZxyz(2.5839, 2.4514, 7.7326)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B4F #4F3915
analogous
#15484F #152B4F #1C154F
triadic
#152B4F #4F152B #2B4F15
tetradic
#152B4F #4F1548 #4F3915 #154F1C
square
#152B4F #4F1548 #4F3915 #154F1C
split-complementary
#152B4F #4F1C15 #484F15
monochromatic
#060D18 #08111F #152B4F #22457F #2F60B0

Accessibility & contrast

On white

14.09
#152B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#152B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B4F
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B4F#FFFFFF#000000##FFFFFF
##152B4F1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#11294E
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152b4f;
/* rgb */ color: rgb(21, 43, 79);
/* oklch */ color: oklch(29.2% 0.072 259.8);
Tailwind
colors: {
  custom: {
    50: '#5a6380',
    500: '#152b4f',
    950: '#000000',
  },
}
SCSS
$custom: #152b4f;
$custom-light: #5a6380;
$custom-dark: #000000;
JSON
{
  "hex": "#152b4f",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 217.241,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29203,
    "c": 0.07165,
    "h": 259.8
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#152B4F
secondary
#876939
accent
#A747E1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #152B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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