#151A43#151A43

#151A43 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.077 H 273.9°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#151A43
RGBrgb(21, 26, 67)
HSLhsl(233, 52%, 17%)
HSVhsv(233, 69%, 26%)
CMYKcmyk(68.7%, 61.2%, 0%, 73.7%)
CIE-LABlab(11.30, 12.87, -26.74)
CIE-LCHlch(11.30, 29.67, 295.71°)
OKLaboklab(24.03% 0.0052 -0.0767)
OKLCHoklch(24.03% 0.077 273.9)
XYZxyz(1.6914, 1.3033, 5.4715)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A43 #433E15
analogous
#153143 #151A43 #271543
triadic
#151A43 #43151A #1A4315
tetradic
#151A43 #431531 #433E15 #154327
square
#151A43 #431531 #433E15 #154327
split-complementary
#151A43 #432715 #314315
monochromatic
#070917 #070917 #151A43 #242C72 #323EA0

Accessibility & contrast

On white

16.66
#151A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#151A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A43
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A43#FFFFFF#000000##FFFFFF
##151A431.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022044
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151a43;
/* rgb */ color: rgb(21, 26, 67);
/* oklch */ color: oklch(24.0% 0.077 273.9);
Tailwind
colors: {
  custom: {
    50: '#585677',
    500: '#151a43',
    950: '#000000',
  },
}
SCSS
$custom: #151a43;
$custom-light: #585677;
$custom-dark: #000000;
JSON
{
  "hex": "#151a43",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 67
  },
  "hsl": {
    "h": 233.478,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24033,
    "c": 0.07688,
    "h": 273.9
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#151A43
secondary
#7B7439
accent
#CC4CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151A43

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

Preview Lab → · Contrast checker → · Palette generator →

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