#151A6B#151A6B

#151A6B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.137 H 271.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#151A6B
RGBrgb(21, 26, 107)
HSLhsl(237, 67%, 25%)
HSVhsv(237, 80%, 42%)
CMYKcmyk(80.4%, 75.7%, 0%, 58%)
CIE-LABlab(15.27, 28.84, -47.29)
CIE-LCHlch(15.27, 55.39, 301.38°)
OKLaboklab(28.16% 0.0024 -0.1369)
OKLCHoklch(28.16% 0.137 271)
XYZxyz(3.3316, 1.9594, 14.1097)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A6B #6B6615
analogous
#15456B #151A6B #3B156B
triadic
#151A6B #6B151A #1A6B15
tetradic
#151A6B #6B1545 #6B6615 #156B3B
square
#151A6B #6B1545 #6B6615 #156B3B
split-complementary
#151A6B #6B3B15 #456B15
monochromatic
#05061A #0B0E38 #151A6B #1F269E #2933D1

Accessibility & contrast

On white

15.09
#151A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A6B
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A6B#FFFFFF#000000##FFFFFF
##151A6B1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151a6b;
/* rgb */ color: rgb(21, 26, 107);
/* oklch */ color: oklch(28.2% 0.137 271.0);
Tailwind
colors: {
  custom: {
    50: '#635796',
    500: '#151a6b',
    950: '#000000',
  },
}
SCSS
$custom: #151a6b;
$custom-light: #635796;
$custom-dark: #000000;
JSON
{
  "hex": "#151a6b",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 236.512,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2816,
    "c": 0.13693,
    "h": 271
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#151A6B
secondary
#A29C3A
accent
#E03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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