#151D73#151D73

#151D73 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.144 H 269.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#151D73
RGBrgb(21, 29, 115)
HSLhsl(235, 69%, 27%)
HSVhsv(235, 82%, 45%)
CMYKcmyk(81.7%, 74.8%, 0%, 54.9%)
CIE-LABlab(16.87, 29.91, -49.85)
CIE-LCHlch(16.87, 58.14, 300.96°)
OKLaboklab(29.57% -0.0002 -0.1444)
OKLCHoklch(29.57% 0.144 269.9)
XYZxyz(3.8421, 2.2755, 16.4531)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D73 #736B15
analogous
#154C73 #151D73 #3C1573
triadic
#151D73 #73151D #1D7315
tetradic
#151D73 #73154C #736B15 #15733C
square
#151D73 #73154C #736B15 #15733C
split-complementary
#151D73 #733C15 #4C7315
monochromatic
#05071A #0C103F #151D73 #1E2AA7 #2A39D8

Accessibility & contrast

On white

14.43
#151D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#151D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D73
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D73#FFFFFF#000000##FFFFFF
##151D731.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #151d73;
/* rgb */ color: rgb(21, 29, 115);
/* oklch */ color: oklch(29.6% 0.144 269.9);
Tailwind
colors: {
  custom: {
    50: '#65599c',
    500: '#151d73',
    950: '#000000',
  },
}
SCSS
$custom: #151d73;
$custom-light: #65599c;
$custom-dark: #000000;
JSON
{
  "hex": "#151d73",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 234.894,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29573,
    "c": 0.14438,
    "h": 269.9
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#151D73
secondary
#A9A03B
accent
#DD3CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151D73

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

Preview Lab → · Contrast checker → · Palette generator →

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