#152A4B#152A4B

#152A4B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.067 H 259.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#152A4B
RGBrgb(21, 42, 75)
HSLhsl(217, 56%, 19%)
HSVhsv(217, 72%, 29%)
CMYKcmyk(72%, 44%, 0%, 70.6%)
CIE-LABlab(17.10, 4.16, -22.96)
CIE-LCHlch(17.10, 23.34, 280.26°)
OKLaboklab(28.65% -0.0126 -0.0654)
OKLCHoklch(28.65% 0.067 259.1)
XYZxyz(2.4068, 2.3231, 6.9768)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A4B #4B3615
analogous
#15454B #152A4B #1B154B
triadic
#152A4B #4B152A #2A4B15
tetradic
#152A4B #4B1545 #4B3615 #154B1B
square
#152A4B #4B1545 #4B3615 #154B1B
split-complementary
#152A4B #4B1B15 #454B15
monochromatic
#070D18 #080F1B #152A4B #22457B #3060AB

Accessibility & contrast

On white

14.34
#152A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152A4B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A4B#FFFFFF#000000##FFFFFF
##152A4B1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#13284A
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152a4b;
/* rgb */ color: rgb(21, 42, 75);
/* oklch */ color: oklch(28.7% 0.067 259.1);
Tailwind
colors: {
  custom: {
    50: '#59637d',
    500: '#152a4b',
    950: '#000000',
  },
}
SCSS
$custom: #152a4b;
$custom-light: #59637d;
$custom-dark: #000000;
JSON
{
  "hex": "#152a4b",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 216.667,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28653,
    "c": 0.06656,
    "h": 259.1
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#152A4B
secondary
#836639
accent
#A548E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #152A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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