#151E73#151E73

#151E73 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.143 H 269.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#151E73
RGBrgb(21, 30, 115)
HSLhsl(234, 69%, 27%)
HSVhsv(234, 82%, 45%)
CMYKcmyk(81.7%, 73.9%, 0%, 54.9%)
CIE-LABlab(17.11, 29.26, -49.46)
CIE-LCHlch(17.11, 57.46, 300.60°)
OKLaboklab(29.74% -0.0007 -0.1432)
OKLCHoklch(29.74% 0.143 269.7)
XYZxyz(3.8670, 2.3253, 16.4614)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E73 #736A15
analogous
#154D73 #151E73 #3B1573
triadic
#151E73 #73151E #1E7315
tetradic
#151E73 #73154D #736A15 #15733B
square
#151E73 #73154D #736A15 #15733B
split-complementary
#151E73 #733B15 #4D7315
monochromatic
#05071A #0C113F #151E73 #1E2CA7 #2A3BD8

Accessibility & contrast

On white

14.33
#151E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#151E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E73
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E73#FFFFFF#000000##FFFFFF
##151E731.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #151e73;
/* rgb */ color: rgb(21, 30, 115);
/* oklch */ color: oklch(29.7% 0.143 269.7);
Tailwind
colors: {
  custom: {
    50: '#655a9c',
    500: '#151e73',
    950: '#000000',
  },
}
SCSS
$custom: #151e73;
$custom-light: #655a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#151e73",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 234.255,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29744,
    "c": 0.14324,
    "h": 269.7
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#151E73
secondary
#A99E3B
accent
#DB3CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #151E73

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

Preview Lab → · Contrast checker → · Palette generator →

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