#151A6C#151A6C

#151A6C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.138 H 270.9°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#151A6C
RGBrgb(21, 26, 108)
HSLhsl(237, 67%, 25%)
HSVhsv(237, 81%, 42%)
CMYKcmyk(80.6%, 75.9%, 0%, 57.6%)
CIE-LABlab(15.39, 29.22, -47.76)
CIE-LCHlch(15.39, 55.99, 301.46°)
OKLaboklab(28.27% 0.0023 -0.1383)
OKLCHoklch(28.27% 0.138 270.9)
XYZxyz(3.3845, 1.9806, 14.3884)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A6C #6C6715
analogous
#15456C #151A6C #3C156C
triadic
#151A6C #6C151A #1A6C15
tetradic
#151A6C #6C1545 #6C6715 #156C3C
square
#151A6C #6C1545 #6C6715 #156C3C
split-complementary
#151A6C #6C3C15 #456C15
monochromatic
#05061A #0B0E39 #151A6C #1F269F #2933D2

Accessibility & contrast

On white

15.04
#151A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A6C
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A6C#FFFFFF#000000##FFFFFF
##151A6C1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151a6c;
/* rgb */ color: rgb(21, 26, 108);
/* oklch */ color: oklch(28.3% 0.138 270.9);
Tailwind
colors: {
  custom: {
    50: '#635797',
    500: '#151a6c',
    950: '#000000',
  },
}
SCSS
$custom: #151a6c;
$custom-light: #635797;
$custom-dark: #000000;
JSON
{
  "hex": "#151a6c",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 236.552,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28274,
    "c": 0.13829,
    "h": 270.9
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#151A6C
secondary
#A39D3A
accent
#E03DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #151A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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