#152F67#152F67

#152F67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.104 H 263.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#152F67
RGBrgb(21, 47, 103)
HSLhsl(221, 66%, 24%)
HSVhsv(221, 80%, 40%)
CMYKcmyk(79.6%, 54.4%, 0%, 59.6%)
CIE-LABlab(20.72, 12.30, -35.79)
CIE-LCHlch(20.72, 37.84, 288.97°)
OKLaboklab(32.08% -0.0125 -0.103)
OKLCHoklch(32.08% 0.104 263.1)
XYZxyz(3.7731, 3.1713, 13.2426)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F67 #674D15
analogous
#155867 #152F67 #241567
triadic
#152F67 #67152F #2F6715
tetradic
#152F67 #671558 #674D15 #156724
square
#152F67 #671558 #674D15 #156724
split-complementary
#152F67 #672415 #586715
monochromatic
#050C19 #0B1834 #152F67 #1F469A #2A5DCD

Accessibility & contrast

On white

12.85
#152F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#152F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F67
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F67#FFFFFF#000000##FFFFFF
##152F671.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3669
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152f67;
/* rgb */ color: rgb(21, 47, 103);
/* oklch */ color: oklch(32.1% 0.104 263.1);
Tailwind
colors: {
  custom: {
    50: '#606793',
    500: '#152f67',
    950: '#000000',
  },
}
SCSS
$custom: #152f67;
$custom-light: #606793;
$custom-dark: #000000;
JSON
{
  "hex": "#152f67",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 220.976,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32078,
    "c": 0.10371,
    "h": 263.1
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#152F67
secondary
#9E7E3A
accent
#B33FE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #152F67

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

Preview Lab → · Contrast checker → · Palette generator →

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