#151475#151475

#151475 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.156 H 271.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#151475
RGBrgb(21, 20, 117)
HSLhsl(241, 71%, 27%)
HSVhsv(241, 83%, 46%)
CMYKcmyk(82.1%, 82.9%, 0%, 54.1%)
CIE-LABlab(15.19, 36.07, -53.93)
CIE-LCHlch(15.19, 64.88, 303.78°)
OKLaboklab(28.45% 0.0029 -0.1561)
OKLCHoklch(28.45% 0.156 271.1)
XYZxyz(3.7692, 1.9437, 17.0027)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151475 #747514
analogous
#144375 #151475 #461475
triadic
#151475 #751514 #147515
tetradic
#151475 #751443 #747514 #147546
square
#151475 #751443 #747514 #147546
split-complementary
#151475 #754614 #437514
monochromatic
#05041A #0C0B41 #151475 #1E1DA9 #2B29DA

Accessibility & contrast

On white

15.12
#151475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151475
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151475#FFFFFF#000000##FFFFFF
##1514751.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002173
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151475;
/* rgb */ color: rgb(21, 20, 117);
/* oklch */ color: oklch(28.4% 0.156 271.1);
Tailwind
colors: {
  custom: {
    50: '#67549e',
    500: '#151475',
    950: '#000000',
  },
}
SCSS
$custom: #151475;
$custom-light: #67549e;
$custom-dark: #000000;
JSON
{
  "hex": "#151475",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 240.619,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2845,
    "c": 0.15615,
    "h": 271.1
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#151475
secondary
#AAAB3A
accent
#EE3AEC
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151475

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

Preview Lab → · Contrast checker → · Palette generator →

#151475 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva