#151E6A#151E6A

#151E6A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.131 H 270.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#151E6A
RGBrgb(21, 30, 106)
HSLhsl(234, 67%, 25%)
HSVhsv(234, 80%, 42%)
CMYKcmyk(80.2%, 71.7%, 0%, 58.4%)
CIE-LABlab(16.15, 25.77, -45.20)
CIE-LCHlch(16.15, 52.03, 299.69°)
OKLaboklab(28.76% 0.0003 -0.1308)
OKLCHoklch(28.76% 0.131 270.1)
XYZxyz(3.3742, 2.1282, 13.8658)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E6A #6A6115
analogous
#15496A #151E6A #37156A
triadic
#151E6A #6A151E #1E6A15
tetradic
#151E6A #6A1549 #6A6115 #156A37
square
#151E6A #6A1549 #6A6115 #156A37
split-complementary
#151E6A #6A3715 #496A15
monochromatic
#05071A #0B1037 #151E6A #1F2C9D #293BD0

Accessibility & contrast

On white

14.73
#151E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#151E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E6A
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E6A#FFFFFF#000000##FFFFFF
##151E6A1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151e6a;
/* rgb */ color: rgb(21, 30, 106);
/* oklch */ color: oklch(28.8% 0.131 270.1);
Tailwind
colors: {
  custom: {
    50: '#625a95',
    500: '#151e6a',
    950: '#000000',
  },
}
SCSS
$custom: #151e6a;
$custom-light: #625a95;
$custom-dark: #000000;
JSON
{
  "hex": "#151e6a",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 233.647,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28757,
    "c": 0.13081,
    "h": 270.1
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#151E6A
secondary
#A1963A
accent
#D83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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