#151D66#151D66

#151D66 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.1% C 0.126 H 270.6°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#151D66
RGBrgb(21, 29, 102)
HSLhsl(234, 66%, 24%)
HSVhsv(234, 79%, 40%)
CMYKcmyk(79.4%, 71.6%, 0%, 60%)
CIE-LABlab(15.47, 24.88, -43.68)
CIE-LCHlch(15.47, 50.27, 299.67°)
OKLaboklab(28.14% 0.0013 -0.1264)
OKLCHoklch(28.14% 0.126 270.6)
XYZxyz(3.1461, 1.9971, 12.7875)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D66 #665E15
analogous
#154666 #151D66 #361566
triadic
#151D66 #66151D #1D6615
tetradic
#151D66 #661546 #665E15 #156636
square
#151D66 #661546 #665E15 #156636
split-complementary
#151D66 #663615 #466615
monochromatic
#050719 #0B0F33 #151D66 #1F2B99 #2A3ACC

Accessibility & contrast

On white

15.01
#151D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#151D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D66
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D66#FFFFFF#000000##FFFFFF
##151D661.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151d66;
/* rgb */ color: rgb(21, 29, 102);
/* oklch */ color: oklch(28.1% 0.126 270.6);
Tailwind
colors: {
  custom: {
    50: '#615992',
    500: '#151d66',
    950: '#000000',
  },
}
SCSS
$custom: #151d66;
$custom-light: #615992;
$custom-dark: #000000;
JSON
{
  "hex": "#151d66",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 234.074,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28141,
    "c": 0.12639,
    "h": 270.6
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#151D66
secondary
#9D933A
accent
#D83FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151D66

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

Preview Lab → · Contrast checker → · Palette generator →

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