#151C73#151C73

#151C73 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.145 H 270.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#151C73
RGBrgb(21, 28, 115)
HSLhsl(236, 69%, 27%)
HSVhsv(236, 82%, 45%)
CMYKcmyk(81.7%, 75.7%, 0%, 54.9%)
CIE-LABlab(16.64, 30.56, -50.24)
CIE-LCHlch(16.64, 58.80, 301.31°)
OKLaboklab(29.4% 0.0002 -0.1455)
OKLCHoklch(29.4% 0.146 270.1)
XYZxyz(3.8180, 2.2273, 16.4450)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C73 #736C15
analogous
#154B73 #151C73 #3D1573
triadic
#151C73 #73151C #1C7315
tetradic
#151C73 #73154B #736C15 #15733D
square
#151C73 #73154B #736C15 #15733D
split-complementary
#151C73 #733D15 #4B7315
monochromatic
#05061A #0C0F3F #151C73 #1E29A7 #2A37D8

Accessibility & contrast

On white

14.53
#151C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#151C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C73
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C73#FFFFFF#000000##FFFFFF
##151C731.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151c73;
/* rgb */ color: rgb(21, 28, 115);
/* oklch */ color: oklch(29.4% 0.145 270.1);
Tailwind
colors: {
  custom: {
    50: '#65599c',
    500: '#151c73',
    950: '#000000',
  },
}
SCSS
$custom: #151c73;
$custom-light: #65599c;
$custom-dark: #000000;
JSON
{
  "hex": "#151c73",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 235.532,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29405,
    "c": 0.1455,
    "h": 270.1
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#151C73
secondary
#A9A13B
accent
#DF3CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151C73

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

Preview Lab → · Contrast checker → · Palette generator →

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