#151A9E#151A9E

#151A9E is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.3% C 0.201 H 268.1°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#151A9E
RGBrgb(21, 26, 158)
HSLhsl(238, 77%, 35%)
HSVhsv(238, 87%, 62%)
CMYKcmyk(86.7%, 83.5%, 0%, 38%)
CIE-LABlab(21.45, 46.62, -69.26)
CIE-LCHlch(21.45, 83.49, 303.94°)
OKLaboklab(34.31% -0.0068 -0.2006)
OKLCHoklch(34.31% 0.201 268.1)
XYZxyz(6.8481, 3.3660, 32.6299)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A9E #9E9915
analogous
#155F9E #151A9E #54159E
triadic
#151A9E #9E151A #1A9E15
tetradic
#151A9E #9E155F #9E9915 #159E54
square
#151A9E #9E155F #9E9915 #159E54
split-complementary
#151A9E #9E5415 #5F9E15
monochromatic
#070832 #0E1168 #151A9E #1C23D4 #474DE7

Accessibility & contrast

On white

12.55
#151A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#151A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A9E
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A9E#FFFFFF#000000##FFFFFF
##151A9E1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #151a9e;
/* rgb */ color: rgb(21, 26, 158);
/* oklch */ color: oklch(34.3% 0.201 268.1);
Tailwind
colors: {
  custom: {
    50: '#715abc',
    500: '#151a9e',
    950: '#000000',
  },
}
SCSS
$custom: #151a9e;
$custom-light: #715abc;
$custom-dark: #000000;
JSON
{
  "hex": "#151a9e",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 237.81,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34306,
    "c": 0.20071,
    "h": 268.1
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#151A9E
secondary
#C7C347
accent
#EC35F3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #151A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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