#151E49#151E49

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

Color values

HEX#151E49
RGBrgb(21, 30, 73)
HSLhsl(230, 55%, 18%)
HSVhsv(230, 71%, 29%)
CMYKcmyk(71.2%, 58.9%, 0%, 71.4%)
CIE-LABlab(13.04, 12.31, -28.10)
CIE-LCHlch(13.04, 30.68, 293.66°)
OKLaboklab(25.5% 0.0011 -0.0807)
OKLCHoklch(25.5% 0.081 270.8)
XYZxyz(1.9757, 1.5688, 6.5007)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E49 #494015
analogous
#153849 #151E49 #261549
triadic
#151E49 #49151E #1E4915
tetradic
#151E49 #491538 #494015 #154926
square
#151E49 #491538 #494015 #154926
split-complementary
#151E49 #492615 #384915
monochromatic
#070A18 #070A19 #151E49 #233279 #3045A8

Accessibility & contrast

On white

15.98
#151E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E49
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E49#FFFFFF#000000##FFFFFF
##151E491.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #151e49;
/* rgb */ color: rgb(21, 30, 73);
/* oklch */ color: oklch(25.5% 0.081 270.8);
Tailwind
colors: {
  custom: {
    50: '#59597c',
    500: '#151e49',
    950: '#000000',
  },
}
SCSS
$custom: #151e49;
$custom-light: #59597c;
$custom-dark: #000000;
JSON
{
  "hex": "#151e49",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 229.615,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25499,
    "c": 0.08067,
    "h": 270.8
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#151E49
secondary
#817439
accent
#C549DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151E49

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

Preview Lab → · Contrast checker → · Palette generator →

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