#151A6A#151A6A

#151A6A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.136 H 271.1°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#151A6A
RGBrgb(21, 26, 106)
HSLhsl(236, 67%, 25%)
HSVhsv(236, 80%, 42%)
CMYKcmyk(80.2%, 75.5%, 0%, 58.4%)
CIE-LABlab(15.16, 28.46, -46.82)
CIE-LCHlch(15.16, 54.79, 301.29°)
OKLaboklab(28.05% 0.0026 -0.1355)
OKLCHoklch(28.05% 0.136 271.1)
XYZxyz(3.2793, 1.9385, 13.8342)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A6A #6A6515
analogous
#15446A #151A6A #3B156A
triadic
#151A6A #6A151A #1A6A15
tetradic
#151A6A #6A1544 #6A6515 #156A3B
square
#151A6A #6A1544 #6A6515 #156A3B
split-complementary
#151A6A #6A3B15 #446A15
monochromatic
#05061A #0B0D37 #151A6A #1F279D #2933D0

Accessibility & contrast

On white

15.13
#151A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A6A
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A6A#FFFFFF#000000##FFFFFF
##151A6A1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151a6a;
/* rgb */ color: rgb(21, 26, 106);
/* oklch */ color: oklch(28.0% 0.136 271.1);
Tailwind
colors: {
  custom: {
    50: '#635796',
    500: '#151a6a',
    950: '#000000',
  },
}
SCSS
$custom: #151a6a;
$custom-light: #635796;
$custom-dark: #000000;
JSON
{
  "hex": "#151a6a",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 236.471,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28046,
    "c": 0.13556,
    "h": 271.1
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#151A6A
secondary
#A19B3A
accent
#E03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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