#151A80#151A80

#151A80 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.164 H 269.6°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#151A80
RGBrgb(21, 26, 128)
HSLhsl(237, 72%, 29%)
HSVhsv(237, 84%, 50%)
CMYKcmyk(83.6%, 79.7%, 0%, 49.8%)
CIE-LABlab(17.72, 36.52, -56.77)
CIE-LCHlch(17.72, 67.50, 302.75°)
OKLaboklab(30.62% -0.0012 -0.1645)
OKLCHoklch(30.62% 0.164 269.6)
XYZxyz(4.5736, 2.4562, 20.6509)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A80 #807B15
analogous
#155080 #151A80 #461580
triadic
#151A80 #80151A #1A8015
tetradic
#151A80 #801550 #807B15 #158046
square
#151A80 #801550 #807B15 #158046
split-complementary
#151A80 #804615 #508015
monochromatic
#04051A #0C0F4B #151A80 #1E25B5 #323ADD

Accessibility & contrast

On white

14.08
#151A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#151A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A80
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A80#FFFFFF#000000##FFFFFF
##151A801.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #151a80;
/* rgb */ color: rgb(21, 26, 128);
/* oklch */ color: oklch(30.6% 0.164 269.6);
Tailwind
colors: {
  custom: {
    50: '#6958a6',
    500: '#151a80',
    950: '#000000',
  },
}
SCSS
$custom: #151a80;
$custom-light: #6958a6;
$custom-dark: #000000;
JSON
{
  "hex": "#151a80",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 237.196,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3062,
    "c": 0.16446,
    "h": 269.6
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#151A80
secondary
#B5AF3C
accent
#E639EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #151A80

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

Preview Lab → · Contrast checker → · Palette generator →

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