#151E4C#151E4C

#151E4C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.086 H 270.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#151E4C
RGBrgb(21, 30, 76)
HSLhsl(230, 57%, 19%)
HSVhsv(230, 72%, 30%)
CMYKcmyk(72.4%, 60.5%, 0%, 70.2%)
CIE-LABlab(13.29, 13.56, -29.76)
CIE-LCHlch(13.29, 32.71, 294.49°)
OKLaboklab(25.77% 0.0013 -0.0855)
OKLCHoklch(25.77% 0.086 270.9)
XYZxyz(2.0776, 1.6096, 7.0373)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E4C #4C4315
analogous
#153A4C #151E4C #28154C
triadic
#151E4C #4C151E #1E4C15
tetradic
#151E4C #4C153A #4C4315 #154C28
square
#151E4C #4C153A #4C4315 #154C28
split-complementary
#151E4C #4C2815 #3A4C15
monochromatic
#070918 #080B1C #151E4C #22317C #2F44AC

Accessibility & contrast

On white

15.89
#151E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E4C
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E4C#FFFFFF#000000##FFFFFF
##151E4C1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151e4c;
/* rgb */ color: rgb(21, 30, 76);
/* oklch */ color: oklch(25.8% 0.086 270.9);
Tailwind
colors: {
  custom: {
    50: '#5a597e',
    500: '#151e4c',
    950: '#000000',
  },
}
SCSS
$custom: #151e4c;
$custom-light: #5a597e;
$custom-dark: #000000;
JSON
{
  "hex": "#151e4c",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 230.182,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25766,
    "c": 0.08556,
    "h": 270.9
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#151E4C
secondary
#847839
accent
#C748E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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