#151869#151869

#151869 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.136 H 271.6°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#151869
RGBrgb(21, 24, 105)
HSLhsl(238, 67%, 25%)
HSVhsv(238, 80%, 41%)
CMYKcmyk(80%, 77.1%, 0%, 58.8%)
CIE-LABlab(14.58, 29.38, -47.12)
CIE-LCHlch(14.58, 55.53, 301.94°)
OKLaboklab(27.6% 0.0037 -0.1364)
OKLCHoklch(27.6% 0.136 271.6)
XYZxyz(3.1848, 1.8323, 13.5477)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151869 #696615
analogous
#154269 #151869 #3C1569
triadic
#151869 #691518 #186915
tetradic
#151869 #691542 #696615 #15693C
square
#151869 #691542 #696615 #15693C
split-complementary
#151869 #693C15 #426915
monochromatic
#05061A #0B0C36 #151869 #1F249C #292FCF

Accessibility & contrast

On white

15.37
#151869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151869
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151869#FFFFFF#000000##FFFFFF
##1518691.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151869;
/* rgb */ color: rgb(21, 24, 105);
/* oklch */ color: oklch(27.6% 0.136 271.6);
Tailwind
colors: {
  custom: {
    50: '#635695',
    500: '#151869',
    950: '#000000',
  },
}
SCSS
$custom: #151869;
$custom-light: #635695;
$custom-dark: #000000;
JSON
{
  "hex": "#151869",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 237.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27598,
    "c": 0.13645,
    "h": 271.6
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#151869
secondary
#A09C3A
accent
#E33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151869

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

Preview Lab → · Contrast checker → · Palette generator →

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