#152B4B#152B4B

#152B4B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.065 H 257.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#152B4B
RGBrgb(21, 43, 75)
HSLhsl(216, 56%, 19%)
HSVhsv(216, 72%, 29%)
CMYKcmyk(72%, 42.7%, 0%, 70.6%)
CIE-LABlab(17.44, 3.43, -22.43)
CIE-LCHlch(17.44, 22.69, 278.69°)
OKLaboklab(28.92% -0.0138 -0.0638)
OKLCHoklch(28.92% 0.065 257.8)
XYZxyz(2.4427, 2.3949, 6.9888)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B4B #4B3515
analogous
#15464B #152B4B #1A154B
triadic
#152B4B #4B152B #2B4B15
tetradic
#152B4B #4B1546 #4B3515 #154B1A
square
#152B4B #4B1546 #4B3515 #154B1A
split-complementary
#152B4B #4B1A15 #464B15
monochromatic
#070E18 #08101B #152B4B #22467B #3062AB

Accessibility & contrast

On white

14.20
#152B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#152B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B4B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B4B#FFFFFF#000000##FFFFFF
##152B4B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4C
Deuteranopia (green-blind)
#15284A
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152b4b;
/* rgb */ color: rgb(21, 43, 75);
/* oklch */ color: oklch(28.9% 0.065 257.8);
Tailwind
colors: {
  custom: {
    50: '#59637d',
    500: '#152b4b',
    950: '#000000',
  },
}
SCSS
$custom: #152b4b;
$custom-light: #59637d;
$custom-dark: #000000;
JSON
{
  "hex": "#152b4b",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 215.556,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28916,
    "c": 0.06525,
    "h": 257.8
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#152B4B
secondary
#836539
accent
#A248E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #152B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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