#152F69#152F69

#152F69 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.107 H 263.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#152F69
RGBrgb(21, 47, 105)
HSLhsl(221, 67%, 25%)
HSVhsv(221, 80%, 41%)
CMYKcmyk(80%, 55.2%, 0%, 58.8%)
CIE-LABlab(20.87, 13.15, -36.83)
CIE-LCHlch(20.87, 39.11, 289.64°)
OKLaboklab(32.25% -0.0122 -0.106)
OKLCHoklch(32.25% 0.107 263.4)
XYZxyz(3.8747, 3.2119, 13.7776)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F69 #694F15
analogous
#155969 #152F69 #251569
triadic
#152F69 #69152F #2F6915
tetradic
#152F69 #691559 #694F15 #156925
square
#152F69 #691559 #694F15 #156925
split-complementary
#152F69 #692515 #596915
monochromatic
#050B1A #0B1836 #152F69 #1F469C #295DCF

Accessibility & contrast

On white

12.79
#152F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#152F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F69
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F69#FFFFFF#000000##FFFFFF
##152F691.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152f69;
/* rgb */ color: rgb(21, 47, 105);
/* oklch */ color: oklch(32.2% 0.107 263.4);
Tailwind
colors: {
  custom: {
    50: '#606794',
    500: '#152f69',
    950: '#000000',
  },
}
SCSS
$custom: #152f69;
$custom-light: #606794;
$custom-dark: #000000;
JSON
{
  "hex": "#152f69",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 221.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32247,
    "c": 0.10674,
    "h": 263.4
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#152F69
secondary
#A0803A
accent
#B53EEA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #152F69

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

Preview Lab → · Contrast checker → · Palette generator →

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