#152B67#152B67

#152B67 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.109 H 265.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#152B67
RGBrgb(21, 43, 103)
HSLhsl(224, 66%, 24%)
HSVhsv(224, 80%, 40%)
CMYKcmyk(79.6%, 58.3%, 0%, 59.6%)
CIE-LABlab(19.50, 15.22, -37.76)
CIE-LCHlch(19.50, 40.71, 291.95°)
OKLaboklab(31.16% -0.009 -0.1088)
OKLCHoklch(31.16% 0.109 265.3)
XYZxyz(3.6205, 2.8661, 13.1917)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B67 #675115
analogous
#155467 #152B67 #281567
triadic
#152B67 #67152B #2B6715
tetradic
#152B67 #671554 #675115 #156728
square
#152B67 #671554 #675115 #156728
split-complementary
#152B67 #672815 #546715
monochromatic
#050B19 #0B1634 #152B67 #1F409A #2A55CD

Accessibility & contrast

On white

13.35
#152B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B67
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B67#FFFFFF#000000##FFFFFF
##152B671.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152b67;
/* rgb */ color: rgb(21, 43, 103);
/* oklch */ color: oklch(31.2% 0.109 265.3);
Tailwind
colors: {
  custom: {
    50: '#606393',
    500: '#152b67',
    950: '#000000',
  },
}
SCSS
$custom: #152b67;
$custom-light: #606393;
$custom-dark: #000000;
JSON
{
  "hex": "#152b67",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 223.902,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31155,
    "c": 0.10921,
    "h": 265.3
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#152B67
secondary
#9E833A
accent
#BB3FE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152B67

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

Preview Lab → · Contrast checker → · Palette generator →

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