#151C80#151C80

#151C80 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.163 H 269.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#151C80
RGBrgb(21, 28, 128)
HSLhsl(236, 72%, 29%)
HSVhsv(236, 84%, 50%)
CMYKcmyk(83.6%, 78.1%, 0%, 49.8%)
CIE-LABlab(18.13, 35.34, -56.09)
CIE-LCHlch(18.13, 66.29, 302.22°)
OKLaboklab(30.91% -0.0018 -0.1625)
OKLCHoklch(30.91% 0.163 269.4)
XYZxyz(4.6195, 2.5479, 20.6662)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C80 #807915
analogous
#155280 #151C80 #441580
triadic
#151C80 #80151C #1C8015
tetradic
#151C80 #801552 #807915 #158044
square
#151C80 #801552 #807915 #158044
split-complementary
#151C80 #804415 #528015
monochromatic
#04061A #0C104B #151C80 #1E28B5 #323DDD

Accessibility & contrast

On white

13.91
#151C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#151C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C80
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C80#FFFFFF#000000##FFFFFF
##151C801.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #151c80;
/* rgb */ color: rgb(21, 28, 128);
/* oklch */ color: oklch(30.9% 0.163 269.4);
Tailwind
colors: {
  custom: {
    50: '#6959a6',
    500: '#151c80',
    950: '#000000',
  },
}
SCSS
$custom: #151c80;
$custom-light: #6959a6;
$custom-dark: #000000;
JSON
{
  "hex": "#151c80",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 236.075,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30913,
    "c": 0.1625,
    "h": 269.4
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#151C80
secondary
#B5AD3C
accent
#E339EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #151C80

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

Preview Lab → · Contrast checker → · Palette generator →

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