#152E54#152E54

#152E54 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.3% C 0.076 H 258.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#152E54
RGBrgb(21, 46, 84)
HSLhsl(216, 60%, 21%)
HSVhsv(216, 75%, 33%)
CMYKcmyk(75%, 45.2%, 0%, 67.1%)
CIE-LABlab(19.03, 5.01, -25.97)
CIE-LCHlch(19.03, 26.44, 280.91°)
OKLaboklab(30.34% -0.0149 -0.0741)
OKLCHoklch(30.34% 0.076 258.6)
XYZxyz(2.8859, 2.7532, 8.7651)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E54 #543B15
analogous
#154D54 #152E54 #1B1554
triadic
#152E54 #54152E #2E5415
tetradic
#152E54 #54154D #543B15 #15541B
square
#152E54 #54154D #543B15 #15541B
split-complementary
#152E54 #541B15 #4D5415
monochromatic
#060D18 #091323 #152E54 #214985 #2D64B6

Accessibility & contrast

On white

13.54
#152E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E54
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E54#FFFFFF#000000##FFFFFF
##152E541.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3155
Deuteranopia (green-blind)
#122C53
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152e54;
/* rgb */ color: rgb(21, 46, 84);
/* oklch */ color: oklch(30.3% 0.076 258.6);
Tailwind
colors: {
  custom: {
    50: '#5b6684',
    500: '#152e54',
    950: '#000000',
  },
}
SCSS
$custom: #152e54;
$custom-light: #5b6684;
$custom-dark: #000000;
JSON
{
  "hex": "#152e54",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 216.19,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.07559,
    "h": 258.6
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#152E54
secondary
#8C6B39
accent
#A445E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #152E54

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

Preview Lab → · Contrast checker → · Palette generator →

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