#151A73#151A73

#151A73 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.148 H 270.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#151A73
RGBrgb(21, 26, 115)
HSLhsl(237, 69%, 27%)
HSVhsv(237, 82%, 45%)
CMYKcmyk(81.7%, 77.4%, 0%, 54.9%)
CIE-LABlab(16.18, 31.83, -50.99)
CIE-LCHlch(16.18, 60.11, 301.97°)
OKLaboklab(29.08% 0.0011 -0.1477)
OKLCHoklch(29.08% 0.148 270.4)
XYZxyz(3.7721, 2.1356, 16.4297)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A73 #736E15
analogous
#154973 #151A73 #3F1573
triadic
#151A73 #73151A #1A7315
tetradic
#151A73 #731549 #736E15 #15733F
square
#151A73 #731549 #736E15 #15733F
split-complementary
#151A73 #733F15 #497315
monochromatic
#05061A #0C0E3F #151A73 #1E26A7 #2A33D8

Accessibility & contrast

On white

14.71
#151A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#151A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A73
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A73#FFFFFF#000000##FFFFFF
##151A731.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151a73;
/* rgb */ color: rgb(21, 26, 115);
/* oklch */ color: oklch(29.1% 0.148 270.4);
Tailwind
colors: {
  custom: {
    50: '#65579c',
    500: '#151a73',
    950: '#000000',
  },
}
SCSS
$custom: #151a73;
$custom-light: #65579c;
$custom-dark: #000000;
JSON
{
  "hex": "#151a73",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 236.809,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29081,
    "c": 0.14767,
    "h": 270.4
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#151A73
secondary
#A9A33B
accent
#E33CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151A73

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

Preview Lab → · Contrast checker → · Palette generator →

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