#151E4A#151E4A

#151E4A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.082 H 270.8°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#151E4A
RGBrgb(21, 30, 74)
HSLhsl(230, 56%, 19%)
HSVhsv(230, 72%, 29%)
CMYKcmyk(71.6%, 59.5%, 0%, 71%)
CIE-LABlab(13.12, 12.72, -28.66)
CIE-LCHlch(13.12, 31.36, 293.94°)
OKLaboklab(25.59% 0.0011 -0.0823)
OKLCHoklch(25.59% 0.082 270.8)
XYZxyz(2.0091, 1.5822, 6.6768)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E4A #4A4115
analogous
#15384A #151E4A #26154A
triadic
#151E4A #4A151E #1E4A15
tetradic
#151E4A #4A1538 #4A4115 #154A26
square
#151E4A #4A1538 #4A4115 #154A26
split-complementary
#151E4A #4A2615 #384A15
monochromatic
#070A18 #070B1A #151E4A #23317A #3045A9

Accessibility & contrast

On white

15.95
#151E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#151E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E4A
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E4A#FFFFFF#000000##FFFFFF
##151E4A1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151e4a;
/* rgb */ color: rgb(21, 30, 74);
/* oklch */ color: oklch(25.6% 0.082 270.8);
Tailwind
colors: {
  custom: {
    50: '#59597d',
    500: '#151e4a',
    950: '#000000',
  },
}
SCSS
$custom: #151e4a;
$custom-light: #59597d;
$custom-dark: #000000;
JSON
{
  "hex": "#151e4a",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 229.811,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25587,
    "c": 0.08231,
    "h": 270.8
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#151E4A
secondary
#827539
accent
#C649DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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