#151D6F#151D6F

#151D6F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.139 H 270.1°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#151D6F
RGBrgb(21, 29, 111)
HSLhsl(235, 68%, 26%)
HSVhsv(235, 81%, 44%)
CMYKcmyk(81.1%, 73.9%, 0%, 56.5%)
CIE-LABlab(16.43, 28.38, -47.99)
CIE-LCHlch(16.43, 55.75, 300.61°)
OKLaboklab(29.13% 0.0003 -0.1389)
OKLCHoklch(29.13% 0.139 270.1)
XYZxyz(3.6169, 2.1855, 15.2671)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D6F #6F6715
analogous
#154A6F #151D6F #3A156F
triadic
#151D6F #6F151D #1D6F15
tetradic
#151D6F #6F154A #6F6715 #156F3A
square
#151D6F #6F154A #6F6715 #156F3A
split-complementary
#151D6F #6F3A15 #4A6F15
monochromatic
#05071A #0B103C #151D6F #1F2AA2 #2838D6

Accessibility & contrast

On white

14.61
#151D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#151D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D6F
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D6F#FFFFFF#000000##FFFFFF
##151D6F1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #151d6f;
/* rgb */ color: rgb(21, 29, 111);
/* oklch */ color: oklch(29.1% 0.139 270.1);
Tailwind
colors: {
  custom: {
    50: '#645999',
    500: '#151d6f',
    950: '#000000',
  },
}
SCSS
$custom: #151d6f;
$custom-light: #645999;
$custom-dark: #000000;
JSON
{
  "hex": "#151d6f",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 234.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29125,
    "c": 0.13894,
    "h": 270.1
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#151D6F
secondary
#A59C3A
accent
#DC3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #151D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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