#151B73#151B73

#151B73 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.147 H 270.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#151B73
RGBrgb(21, 27, 115)
HSLhsl(236, 69%, 27%)
HSVhsv(236, 82%, 45%)
CMYKcmyk(81.7%, 76.5%, 0%, 54.9%)
CIE-LABlab(16.41, 31.20, -50.62)
CIE-LCHlch(16.41, 59.46, 301.65°)
OKLaboklab(29.24% 0.0007 -0.1466)
OKLCHoklch(29.24% 0.147 270.3)
XYZxyz(3.7946, 2.1807, 16.4373)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151B73 #736D15
analogous
#154A73 #151B73 #3E1573
triadic
#151B73 #73151B #1B7315
tetradic
#151B73 #73154A #736D15 #15733E
square
#151B73 #73154A #736D15 #15733E
split-complementary
#151B73 #733E15 #4A7315
monochromatic
#05061A #0C0F3F #151B73 #1E27A7 #2A35D8

Accessibility & contrast

On white

14.62
#151B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#151B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151B73
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151B73#FFFFFF#000000##FFFFFF
##151B731.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151b73;
/* rgb */ color: rgb(21, 27, 115);
/* oklch */ color: oklch(29.2% 0.147 270.3);
Tailwind
colors: {
  custom: {
    50: '#65589c',
    500: '#151b73',
    950: '#000000',
  },
}
SCSS
$custom: #151b73;
$custom-light: #65589c;
$custom-dark: #000000;
JSON
{
  "hex": "#151b73",
  "rgb": {
    "r": 21,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 236.17,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29241,
    "c": 0.14659,
    "h": 270.3
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#151B73
secondary
#A9A23B
accent
#E13CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151B73

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

Preview Lab → · Contrast checker → · Palette generator →

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