#151C66#151C66

#151C66 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.128 H 270.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#151C66
RGBrgb(21, 28, 102)
HSLhsl(235, 66%, 24%)
HSVhsv(235, 79%, 40%)
CMYKcmyk(79.4%, 72.5%, 0%, 60%)
CIE-LABlab(15.22, 25.57, -44.10)
CIE-LCHlch(15.22, 50.98, 300.11°)
OKLaboklab(27.96% 0.002 -0.1276)
OKLCHoklch(27.96% 0.128 270.9)
XYZxyz(3.1220, 1.9489, 12.7794)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C66 #665F15
analogous
#154566 #151C66 #371566
triadic
#151C66 #66151C #1C6615
tetradic
#151C66 #661545 #665F15 #156637
square
#151C66 #661545 #665F15 #156637
split-complementary
#151C66 #663715 #456615
monochromatic
#050719 #0B0E33 #151C66 #1F2A99 #2A38CC

Accessibility & contrast

On white

15.11
#151C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C66
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C66#FFFFFF#000000##FFFFFF
##151C661.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151c66;
/* rgb */ color: rgb(21, 28, 102);
/* oklch */ color: oklch(28.0% 0.128 270.9);
Tailwind
colors: {
  custom: {
    50: '#615892',
    500: '#151c66',
    950: '#000000',
  },
}
SCSS
$custom: #151c66;
$custom-light: #615892;
$custom-dark: #000000;
JSON
{
  "hex": "#151c66",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 234.815,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27956,
    "c": 0.12763,
    "h": 270.9
  },
  "luminance": 0.01949
}

Semantic roles & 50–950 ramp

primary
#151C66
secondary
#9D943A
accent
#DA3FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151C66

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

Preview Lab → · Contrast checker → · Palette generator →

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