#152E64#152E64

#152E64 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.101 H 263.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#152E64
RGBrgb(21, 46, 100)
HSLhsl(221, 65%, 24%)
HSVhsv(221, 79%, 39%)
CMYKcmyk(79%, 54%, 0%, 60.8%)
CIE-LABlab(20.18, 11.76, -34.70)
CIE-LCHlch(20.18, 36.64, 288.72°)
OKLaboklab(31.59% -0.0119 -0.0998)
OKLCHoklch(31.59% 0.101 263.2)
XYZxyz(3.5857, 3.0331, 12.4506)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E64 #644B15
analogous
#155564 #152E64 #231564
triadic
#152E64 #64152E #2E6415
tetradic
#152E64 #641555 #644B15 #156423
square
#152E64 #641555 #644B15 #156423
split-complementary
#152E64 #642315 #556415
monochromatic
#050C19 #0A1731 #152E64 #204597 #2A5DC9

Accessibility & contrast

On white

13.07
#152E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#152E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E64
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E64#FFFFFF#000000##FFFFFF
##152E641.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3566
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152e64;
/* rgb */ color: rgb(21, 46, 100);
/* oklch */ color: oklch(31.6% 0.101 263.2);
Tailwind
colors: {
  custom: {
    50: '#5f6691',
    500: '#152e64',
    950: '#000000',
  },
}
SCSS
$custom: #152e64;
$custom-light: #5f6691;
$custom-dark: #000000;
JSON
{
  "hex": "#152e64",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 221.013,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31592,
    "c": 0.1005,
    "h": 263.2
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#152E64
secondary
#9B7C3A
accent
#B340E8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050D
muted
#797A7D

Preview Lab

Preview with #152E64

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

Preview Lab → · Contrast checker → · Palette generator →

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