#151E4B#151E4B

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

Color values

HEX#151E4B
RGBrgb(21, 30, 75)
HSLhsl(230, 56%, 19%)
HSVhsv(230, 72%, 29%)
CMYKcmyk(72%, 60%, 0%, 70.6%)
CIE-LABlab(13.20, 13.14, -29.21)
CIE-LCHlch(13.20, 32.03, 294.22°)
OKLaboklab(25.68% 0.0012 -0.0839)
OKLCHoklch(25.68% 0.084 270.8)
XYZxyz(2.0431, 1.5958, 6.8556)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E4B #4B4215
analogous
#15394B #151E4B #27154B
triadic
#151E4B #4B151E #1E4B15
tetradic
#151E4B #4B1539 #4B4215 #154B27
square
#151E4B #4B1539 #4B4215 #154B27
split-complementary
#151E4B #4B2715 #394B15
monochromatic
#070A18 #080B1B #151E4B #22317B #3044AB

Accessibility & contrast

On white

15.92
#151E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E4B
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E4B#FFFFFF#000000##FFFFFF
##151E4B1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151e4b;
/* rgb */ color: rgb(21, 30, 75);
/* oklch */ color: oklch(25.7% 0.084 270.8);
Tailwind
colors: {
  custom: {
    50: '#5a597e',
    500: '#151e4b',
    950: '#000000',
  },
}
SCSS
$custom: #151e4b;
$custom-light: #5a597e;
$custom-dark: #000000;
JSON
{
  "hex": "#151e4b",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 230,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25676,
    "c": 0.08394,
    "h": 270.8
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#151E4B
secondary
#837739
accent
#C648E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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