#151E9E#151E9E

#151E9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.198 H 267.9°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#151E9E
RGBrgb(21, 30, 158)
HSLhsl(236, 77%, 35%)
HSVhsv(236, 87%, 62%)
CMYKcmyk(86.7%, 81%, 0%, 38%)
CIE-LABlab(22.14, 44.60, -68.12)
CIE-LCHlch(22.14, 81.42, 303.21°)
OKLaboklab(34.79% -0.0074 -0.1974)
OKLCHoklch(34.79% 0.198 267.9)
XYZxyz(6.9430, 3.5557, 32.6615)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E9E #9E9515
analogous
#15639E #151E9E #50159E
triadic
#151E9E #9E151E #1E9E15
tetradic
#151E9E #9E1563 #9E9515 #159E50
square
#151E9E #9E1563 #9E9515 #159E50
split-complementary
#151E9E #9E5015 #639E15
monochromatic
#070932 #0E1468 #151E9E #1C28D4 #4751E7

Accessibility & contrast

On white

12.27
#151E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#151E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E9E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E9E#FFFFFF#000000##FFFFFF
##151E9E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #151e9e;
/* rgb */ color: rgb(21, 30, 158);
/* oklch */ color: oklch(34.8% 0.198 267.9);
Tailwind
colors: {
  custom: {
    50: '#715dbc',
    500: '#151e9e',
    950: '#000000',
  },
}
SCSS
$custom: #151e9e;
$custom-light: #715dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#151e9e",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 236.058,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34788,
    "c": 0.1975,
    "h": 267.9
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#151E9E
secondary
#C7BF47
accent
#E735F3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #151E9E

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

Preview Lab → · Contrast checker → · Palette generator →

#151E9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva