#152E5A#152E5A

#152E5A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.085 H 260.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#152E5A
RGBrgb(21, 46, 90)
HSLhsl(218, 62%, 22%)
HSVhsv(218, 77%, 35%)
CMYKcmyk(76.7%, 48.9%, 0%, 64.7%)
CIE-LABlab(19.44, 7.53, -29.30)
CIE-LCHlch(19.44, 30.26, 284.42°)
OKLaboklab(30.79% -0.0136 -0.0839)
OKLCHoklch(30.79% 0.085 260.8)
XYZxyz(3.1311, 2.8513, 10.0562)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E5A #5A4115
analogous
#15515A #152E5A #1F155A
triadic
#152E5A #5A152E #2E5A15
tetradic
#152E5A #5A1551 #5A4115 #155A1F
square
#152E5A #5A1551 #5A4115 #155A1F
split-complementary
#152E5A #5A1F15 #515A15
monochromatic
#060D19 #091528 #152E5A #21478C #2C61BD

Accessibility & contrast

On white

13.37
#152E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E5A
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E5A#FFFFFF#000000##FFFFFF
##152E5A1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325C
Deuteranopia (green-blind)
#0A2C59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152e5a;
/* rgb */ color: rgb(21, 46, 90);
/* oklch */ color: oklch(30.8% 0.085 260.8);
Tailwind
colors: {
  custom: {
    50: '#5d6689',
    500: '#152e5a',
    950: '#000000',
  },
}
SCSS
$custom: #152e5a;
$custom-light: #5d6689;
$custom-dark: #000000;
JSON
{
  "hex": "#152e5a",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 218.261,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30791,
    "c": 0.08501,
    "h": 260.8
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#152E5A
secondary
#927239
accent
#AA43E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #152E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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