#151A70#151A70

#151A70 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.144 H 270.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#151A70
RGBrgb(21, 26, 112)
HSLhsl(237, 68%, 26%)
HSVhsv(237, 81%, 44%)
CMYKcmyk(81.2%, 76.8%, 0%, 56.1%)
CIE-LABlab(15.84, 30.72, -49.61)
CIE-LCHlch(15.84, 58.35, 301.76°)
OKLaboklab(28.73% 0.0016 -0.1437)
OKLCHoklch(28.73% 0.144 270.6)
XYZxyz(3.6023, 2.0677, 15.5353)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A70 #706B15
analogous
#154770 #151A70 #3D1570
triadic
#151A70 #70151A #1A7015
tetradic
#151A70 #701547 #706B15 #15703D
square
#151A70 #701547 #706B15 #15703D
split-complementary
#151A70 #703D15 #477015
monochromatic
#05061A #0B0E3C #151A70 #1F26A4 #2932D7

Accessibility & contrast

On white

14.86
#151A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151A70
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A70#FFFFFF#000000##FFFFFF
##151A701.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151a70;
/* rgb */ color: rgb(21, 26, 112);
/* oklch */ color: oklch(28.7% 0.144 270.6);
Tailwind
colors: {
  custom: {
    50: '#64579a',
    500: '#151a70',
    950: '#000000',
  },
}
SCSS
$custom: #151a70;
$custom-light: #64579a;
$custom-dark: #000000;
JSON
{
  "hex": "#151a70",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 236.703,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28733,
    "c": 0.14368,
    "h": 270.6
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#151A70
secondary
#A6A03B
accent
#E23DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #151A70

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

Preview Lab → · Contrast checker → · Palette generator →

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