#151A6E#151A6E

#151A6E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.141 H 270.8°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#151A6E
RGBrgb(21, 26, 110)
HSLhsl(237, 68%, 26%)
HSVhsv(237, 81%, 43%)
CMYKcmyk(80.9%, 76.4%, 0%, 56.9%)
CIE-LABlab(15.61, 29.97, -48.69)
CIE-LCHlch(15.61, 57.17, 301.61°)
OKLaboklab(28.5% 0.0019 -0.141)
OKLCHoklch(28.5% 0.141 270.8)
XYZxyz(3.4922, 2.0236, 14.9554)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A6E #6E6915
analogous
#15466E #151A6E #3C156E
triadic
#151A6E #6E151A #1A6E15
tetradic
#151A6E #6E1546 #6E6915 #156E3C
square
#151A6E #6E1546 #6E6915 #156E3C
split-complementary
#151A6E #6E3C15 #466E15
monochromatic
#05061A #0B0E3B #151A6E #1F26A1 #2932D5

Accessibility & contrast

On white

14.95
#151A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A6E
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A6E#FFFFFF#000000##FFFFFF
##151A6E1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151a6e;
/* rgb */ color: rgb(21, 26, 110);
/* oklch */ color: oklch(28.5% 0.141 270.8);
Tailwind
colors: {
  custom: {
    50: '#645799',
    500: '#151a6e',
    950: '#000000',
  },
}
SCSS
$custom: #151a6e;
$custom-light: #645799;
$custom-dark: #000000;
JSON
{
  "hex": "#151a6e",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 236.629,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28503,
    "c": 0.14099,
    "h": 270.8
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#151A6E
secondary
#A49E3A
accent
#E13DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #151A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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