#152169#152169

#152169 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.2% C 0.126 H 269.3°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#152169
RGBrgb(21, 33, 105)
HSLhsl(231, 67%, 25%)
HSVhsv(231, 80%, 41%)
CMYKcmyk(80%, 68.6%, 0%, 58.8%)
CIE-LABlab(16.83, 23.28, -43.42)
CIE-LCHlch(16.83, 49.27, 298.19°)
OKLaboklab(29.22% -0.0015 -0.1256)
OKLCHoklch(29.22% 0.126 269.3)
XYZxyz(3.4020, 2.2667, 13.6201)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152169 #695D15
analogous
#154B69 #152169 #331569
triadic
#152169 #691521 #216915
tetradic
#152169 #69154B #695D15 #156933
square
#152169 #69154B #695D15 #156933
split-complementary
#152169 #693315 #4B6915
monochromatic
#05081A #0B1136 #152169 #1F319C #2941CF

Accessibility & contrast

On white

14.45
#152169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#152169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152169
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152169#FFFFFF#000000##FFFFFF
##1521691.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002668
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152169;
/* rgb */ color: rgb(21, 33, 105);
/* oklch */ color: oklch(29.2% 0.126 269.3);
Tailwind
colors: {
  custom: {
    50: '#625c95',
    500: '#152169',
    950: '#000000',
  },
}
SCSS
$custom: #152169;
$custom-light: #625c95;
$custom-dark: #000000;
JSON
{
  "hex": "#152169",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 105
  },
  "hsl": {
    "h": 231.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29224,
    "c": 0.12561,
    "h": 269.3
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#152169
secondary
#A0913A
accent
#D13EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #152169

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

Preview Lab → · Contrast checker → · Palette generator →

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