#151A6F#151A6F

#151A6F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.142 H 270.7°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#151A6F
RGBrgb(21, 26, 111)
HSLhsl(237, 68%, 26%)
HSVhsv(237, 81%, 44%)
CMYKcmyk(81.1%, 76.6%, 0%, 56.5%)
CIE-LABlab(15.72, 30.34, -49.15)
CIE-LCHlch(15.72, 57.76, 301.69°)
OKLaboklab(28.62% 0.0018 -0.1423)
OKLCHoklch(28.62% 0.142 270.7)
XYZxyz(3.5469, 2.0455, 15.2437)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A6F #6F6A15
analogous
#15476F #151A6F #3D156F
triadic
#151A6F #6F151A #1A6F15
tetradic
#151A6F #6F1547 #6F6A15 #156F3D
square
#151A6F #6F1547 #6F6A15 #156F3D
split-complementary
#151A6F #6F3D15 #476F15
monochromatic
#05061A #0B0E3C #151A6F #1F26A2 #2832D6

Accessibility & contrast

On white

14.90
#151A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#151A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A6F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A6F#FFFFFF#000000##FFFFFF
##151A6F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151a6f;
/* rgb */ color: rgb(21, 26, 111);
/* oklch */ color: oklch(28.6% 0.142 270.7);
Tailwind
colors: {
  custom: {
    50: '#645799',
    500: '#151a6f',
    950: '#000000',
  },
}
SCSS
$custom: #151a6f;
$custom-light: #645799;
$custom-dark: #000000;
JSON
{
  "hex": "#151a6f",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 236.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28618,
    "c": 0.14234,
    "h": 270.7
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #151A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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