#151E48#151E48

#151E48 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.079 H 270.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#151E48
RGBrgb(21, 30, 72)
HSLhsl(229, 55%, 18%)
HSVhsv(229, 71%, 28%)
CMYKcmyk(70.8%, 58.3%, 0%, 71.8%)
CIE-LABlab(12.96, 11.89, -27.54)
CIE-LCHlch(12.96, 30.00, 293.35°)
OKLaboklab(25.41% 0.001 -0.079)
OKLCHoklch(25.41% 0.079 270.7)
XYZxyz(1.9428, 1.5557, 6.3275)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E48 #483F15
analogous
#153748 #151E48 #251548
triadic
#151E48 #48151E #1E4815
tetradic
#151E48 #481537 #483F15 #154825
square
#151E48 #481537 #483F15 #154825
split-complementary
#151E48 #482515 #374815
monochromatic
#070A18 #070A19 #151E48 #233277 #3145A7

Accessibility & contrast

On white

16.02
#151E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#151E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E48
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E48#FFFFFF#000000##FFFFFF
##151E481.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052449
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #151e48;
/* rgb */ color: rgb(21, 30, 72);
/* oklch */ color: oklch(25.4% 0.079 270.7);
Tailwind
colors: {
  custom: {
    50: '#59597b',
    500: '#151e48',
    950: '#000000',
  },
}
SCSS
$custom: #151e48;
$custom-light: #59597b;
$custom-dark: #000000;
JSON
{
  "hex": "#151e48",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 229.412,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25412,
    "c": 0.07902,
    "h": 270.7
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#151E48
secondary
#807339
accent
#C44ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151E48

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

Preview Lab → · Contrast checker → · Palette generator →

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