#151D46#151D46

#151D46 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.077 H 271.4°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#151D46
RGBrgb(21, 29, 70)
HSLhsl(230, 54%, 18%)
HSVhsv(230, 70%, 27%)
CMYKcmyk(70%, 58.6%, 0%, 72.5%)
CIE-LABlab(12.48, 11.82, -26.92)
CIE-LCHlch(12.48, 29.40, 293.71°)
OKLaboklab(25% 0.0019 -0.0772)
OKLCHoklch(25% 0.077 271.4)
XYZxyz(1.8537, 1.4802, 5.9812)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D46 #463E15
analogous
#153546 #151D46 #251546
triadic
#151D46 #46151D #1D4615
tetradic
#151D46 #461535 #463E15 #154625
square
#151D46 #461535 #463E15 #154625
split-complementary
#151D46 #462515 #354615
monochromatic
#070A18 #070A18 #151D46 #233175 #3144A4

Accessibility & contrast

On white

16.20
#151D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D46
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D46#FFFFFF#000000##FFFFFF
##151D461.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052347
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151d46;
/* rgb */ color: rgb(21, 29, 70);
/* oklch */ color: oklch(25.0% 0.077 271.4);
Tailwind
colors: {
  custom: {
    50: '#59587a',
    500: '#151d46',
    950: '#000000',
  },
}
SCSS
$custom: #151d46;
$custom-light: #59587a;
$custom-dark: #000000;
JSON
{
  "hex": "#151d46",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 230.204,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25001,
    "c": 0.07722,
    "h": 271.4
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#151D46
secondary
#7E7339
accent
#C54BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #151D46

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

Preview Lab → · Contrast checker → · Palette generator →

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