#151D6A#151D6A

#151D6A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.132 H 270.4°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#151D6A
RGBrgb(21, 29, 106)
HSLhsl(234, 67%, 25%)
HSVhsv(234, 80%, 42%)
CMYKcmyk(80.2%, 72.6%, 0%, 58.4%)
CIE-LABlab(15.89, 26.45, -45.61)
CIE-LCHlch(15.89, 52.73, 300.11°)
OKLaboklab(28.57% 0.0009 -0.132)
OKLCHoklch(28.57% 0.132 270.4)
XYZxyz(3.3493, 2.0784, 13.8575)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D6A #6A6215
analogous
#15486A #151D6A #38156A
triadic
#151D6A #6A151D #1D6A15
tetradic
#151D6A #6A1548 #6A6215 #156A38
square
#151D6A #6A1548 #6A6215 #156A38
split-complementary
#151D6A #6A3815 #486A15
monochromatic
#05071A #0B0F37 #151D6A #1F2B9D #2939D0

Accessibility & contrast

On white

14.83
#151D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#151D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D6A
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D6A#FFFFFF#000000##FFFFFF
##151D6A1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151d6a;
/* rgb */ color: rgb(21, 29, 106);
/* oklch */ color: oklch(28.6% 0.132 270.4);
Tailwind
colors: {
  custom: {
    50: '#625995',
    500: '#151d6a',
    950: '#000000',
  },
}
SCSS
$custom: #151d6a;
$custom-light: #625995;
$custom-dark: #000000;
JSON
{
  "hex": "#151d6a",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 234.353,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28574,
    "c": 0.13202,
    "h": 270.4
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#151D6A
secondary
#A1973A
accent
#DA3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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