#151A45#151A45

#151A45 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.080 H 273.8°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#151A45
RGBrgb(21, 26, 69)
HSLhsl(234, 53%, 18%)
HSVhsv(234, 70%, 27%)
CMYKcmyk(69.6%, 62.3%, 0%, 72.9%)
CIE-LABlab(11.47, 13.70, -27.86)
CIE-LCHlch(11.47, 31.05, 296.18°)
OKLaboklab(24.21% 0.0053 -0.08)
OKLCHoklch(24.21% 0.08 273.8)
XYZxyz(1.7525, 1.3277, 5.7930)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A45 #454015
analogous
#153245 #151A45 #281545
triadic
#151A45 #45151A #1A4515
tetradic
#151A45 #451532 #454015 #154528
square
#151A45 #451532 #454015 #154528
split-complementary
#151A45 #452815 #324515
monochromatic
#070917 #070917 #151A45 #232C74 #323DA3

Accessibility & contrast

On white

16.59
#151A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#151A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A45
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A45#FFFFFF#000000##FFFFFF
##151A451.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002146
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #151a45;
/* rgb */ color: rgb(21, 26, 69);
/* oklch */ color: oklch(24.2% 0.080 273.8);
Tailwind
colors: {
  custom: {
    50: '#595679',
    500: '#151a45',
    950: '#000000',
  },
}
SCSS
$custom: #151a45;
$custom-light: #595679;
$custom-dark: #000000;
JSON
{
  "hex": "#151a45",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 233.75,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24214,
    "c": 0.08019,
    "h": 273.8
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#151A45
secondary
#7D7639
accent
#CE4BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151A45

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

Preview Lab → · Contrast checker → · Palette generator →

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