#151A49#151A49

#151A49 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.087 H 273.6°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#151A49
RGBrgb(21, 26, 73)
HSLhsl(234, 55%, 18%)
HSVhsv(234, 71%, 29%)
CMYKcmyk(71.2%, 64.4%, 0%, 71.4%)
CIE-LABlab(11.82, 15.34, -30.08)
CIE-LCHlch(11.82, 33.76, 297.02°)
OKLaboklab(24.59% 0.0054 -0.0865)
OKLCHoklch(24.59% 0.087 273.6)
XYZxyz(1.8809, 1.3791, 6.4691)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A49 #494415
analogous
#153449 #151A49 #2A1549
triadic
#151A49 #49151A #1A4915
tetradic
#151A49 #491534 #494415 #15492A
square
#151A49 #491534 #494415 #15492A
split-complementary
#151A49 #492A15 #344915
monochromatic
#070818 #070919 #151A49 #232B79 #303CA8

Accessibility & contrast

On white

16.46
#151A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#151A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A49
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A49#FFFFFF#000000##FFFFFF
##151A491.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #151a49;
/* rgb */ color: rgb(21, 26, 73);
/* oklch */ color: oklch(24.6% 0.087 273.6);
Tailwind
colors: {
  custom: {
    50: '#5a567c',
    500: '#151a49',
    950: '#000000',
  },
}
SCSS
$custom: #151a49;
$custom-light: #5a567c;
$custom-dark: #000000;
JSON
{
  "hex": "#151a49",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 234.231,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24585,
    "c": 0.0867,
    "h": 273.6
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#151A49
secondary
#817A39
accent
#D049DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #151A49

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

Preview Lab → · Contrast checker → · Palette generator →

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