#152069#152069

#152069 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.127 H 269.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#152069
RGBrgb(21, 32, 105)
HSLhsl(232, 67%, 25%)
HSVhsv(232, 80%, 41%)
CMYKcmyk(80%, 69.5%, 0%, 58.8%)
CIE-LABlab(16.56, 23.98, -43.86)
CIE-LCHlch(16.56, 49.99, 298.67°)
OKLaboklab(29.03% -0.0008 -0.1269)
OKLCHoklch(29.03% 0.127 269.6)
XYZxyz(3.3747, 2.2120, 13.6110)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152069 #695E15
analogous
#154A69 #152069 #341569
triadic
#152069 #691520 #206915
tetradic
#152069 #69154A #695E15 #156934
square
#152069 #69154A #695E15 #156934
split-complementary
#152069 #693415 #4A6915
monochromatic
#05081A #0B1036 #152069 #1F309C #293FCF

Accessibility & contrast

On white

14.56
#152069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#152069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152069
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152069#FFFFFF#000000##FFFFFF
##1520691.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002568
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152069;
/* rgb */ color: rgb(21, 32, 105);
/* oklch */ color: oklch(29.0% 0.127 269.6);
Tailwind
colors: {
  custom: {
    50: '#625b95',
    500: '#152069',
    950: '#000000',
  },
}
SCSS
$custom: #152069;
$custom-light: #625b95;
$custom-dark: #000000;
JSON
{
  "hex": "#152069",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 105
  },
  "hsl": {
    "h": 232.143,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29029,
    "c": 0.12689,
    "h": 269.6
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#152069
secondary
#A0923A
accent
#D33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #152069

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

Preview Lab → · Contrast checker → · Palette generator →

#152069 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva