#151A30#151A30

#151A30 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.5% C 0.044 H 272.8°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#151A30
RGBrgb(21, 26, 48)
HSLhsl(229, 39%, 14%)
HSVhsv(229, 56%, 19%)
CMYKcmyk(56.2%, 45.8%, 0%, 81.2%)
CIE-LABlab(9.89, 5.22, -15.41)
CIE-LCHlch(9.89, 16.27, 288.73°)
OKLaboklab(22.51% 0.0021 -0.0435)
OKLCHoklch(22.51% 0.044 272.8)
XYZxyz(1.2120, 1.1116, 2.9464)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A30 #302B15
analogous
#152730 #151A30 #1D1530
triadic
#151A30 #30151A #1A3015
tetradic
#151A30 #301527 #302B15 #15301D
square
#151A30 #301527 #302B15 #15301D
split-complementary
#151A30 #301D15 #273015
monochromatic
#090C15 #090C15 #151A30 #28315B #3A4885

Accessibility & contrast

On white

17.18
#151A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#151A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A30
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A30#FFFFFF#000000##FFFFFF
##151A301.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C31
Deuteranopia (green-blind)
#0F1A30
Tritanopia (blue-blind)
#0B1F22
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151a30;
/* rgb */ color: rgb(21, 26, 48);
/* oklch */ color: oklch(22.5% 0.044 272.8);
Tailwind
colors: {
  custom: {
    50: '#545668',
    500: '#151a30',
    950: '#000000',
  },
}
SCSS
$custom: #151a30;
$custom-light: #545668;
$custom-dark: #000000;
JSON
{
  "hex": "#151a30",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 48
  },
  "hsl": {
    "h": 228.889,
    "s": 39.13,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22508,
    "c": 0.04351,
    "h": 272.8
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#151A30
secondary
#665E3A
accent
#B959CF
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#030306
muted
#78787A

Preview Lab

Preview with #151A30

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

Preview Lab → · Contrast checker → · Palette generator →

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