#151A66#151A66

#151A66 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.6% C 0.130 H 271.4°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#151A66
RGBrgb(21, 26, 102)
HSLhsl(236, 66%, 24%)
HSVhsv(236, 79%, 40%)
CMYKcmyk(79.4%, 74.5%, 0%, 60%)
CIE-LABlab(14.72, 26.93, -44.92)
CIE-LCHlch(14.72, 52.37, 300.94°)
OKLaboklab(27.6% 0.0031 -0.13)
OKLCHoklch(27.6% 0.13 271.4)
XYZxyz(3.0761, 1.8572, 12.7642)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A66 #666115
analogous
#154366 #151A66 #391566
triadic
#151A66 #66151A #1A6615
tetradic
#151A66 #661543 #666115 #156639
square
#151A66 #661543 #666115 #156639
split-complementary
#151A66 #663915 #436615
monochromatic
#050619 #0B0D33 #151A66 #1F2799 #2A34CC

Accessibility & contrast

On white

15.31
#151A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A66
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A66#FFFFFF#000000##FFFFFF
##151A661.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151a66;
/* rgb */ color: rgb(21, 26, 102);
/* oklch */ color: oklch(27.6% 0.130 271.4);
Tailwind
colors: {
  custom: {
    50: '#625793',
    500: '#151a66',
    950: '#000000',
  },
}
SCSS
$custom: #151a66;
$custom-light: #625793;
$custom-dark: #000000;
JSON
{
  "hex": "#151a66",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 236.296,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27596,
    "c": 0.13004,
    "h": 271.4
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#151A66
secondary
#9D973A
accent
#DE3FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151A66

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

Preview Lab → · Contrast checker → · Palette generator →

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