#151D67#151D67

#151D67 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.128 H 270.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#151D67
RGBrgb(21, 29, 103)
HSLhsl(234, 66%, 24%)
HSVhsv(234, 80%, 40%)
CMYKcmyk(79.6%, 71.8%, 0%, 59.6%)
CIE-LABlab(15.58, 25.28, -44.17)
CIE-LCHlch(15.58, 50.89, 299.78°)
OKLaboklab(28.25% 0.0012 -0.1278)
OKLCHoklch(28.25% 0.128 270.6)
XYZxyz(3.1960, 2.0171, 13.0502)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D67 #675F15
analogous
#154667 #151D67 #361567
triadic
#151D67 #67151D #1D6715
tetradic
#151D67 #671546 #675F15 #156736
square
#151D67 #671546 #675F15 #156736
split-complementary
#151D67 #673615 #466715
monochromatic
#050719 #0B0F34 #151D67 #1F2B9A #2A3ACD

Accessibility & contrast

On white

14.96
#151D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#151D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D67
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D67#FFFFFF#000000##FFFFFF
##151D671.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151d67;
/* rgb */ color: rgb(21, 29, 103);
/* oklch */ color: oklch(28.2% 0.128 270.6);
Tailwind
colors: {
  custom: {
    50: '#625993',
    500: '#151d67',
    950: '#000000',
  },
}
SCSS
$custom: #151d67;
$custom-light: #625993;
$custom-dark: #000000;
JSON
{
  "hex": "#151d67",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 234.146,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28248,
    "c": 0.12781,
    "h": 270.6
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#151D67
secondary
#9E943A
accent
#D83FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151D67

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

Preview Lab → · Contrast checker → · Palette generator →

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