#151890#151890

#151890 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.186 H 268.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#151890
RGBrgb(21, 24, 144)
HSLhsl(239, 75%, 32%)
HSVhsv(239, 85%, 56%)
CMYKcmyk(85.4%, 83.3%, 0%, 43.5%)
CIE-LABlab(19.33, 43.06, -64.15)
CIE-LCHlch(19.33, 77.26, 303.87°)
OKLaboklab(32.32% -0.0038 -0.1858)
OKLCHoklch(32.32% 0.186 268.8)
XYZxyz(5.6682, 2.8256, 26.6268)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151890 #908D15
analogous
#155590 #151890 #501590
triadic
#151890 #901518 #189015
tetradic
#151890 #901555 #908D15 #159050
square
#151890 #901555 #908D15 #159050
split-complementary
#151890 #905015 #559015
monochromatic
#050625 #0D0F5B #151890 #1D21C5 #3D41E3

Accessibility & contrast

On white

13.42
#151890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#151890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151890
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151890#FFFFFF#000000##FFFFFF
##1518901.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #151890;
/* rgb */ color: rgb(21, 24, 144);
/* oklch */ color: oklch(32.3% 0.186 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e58b2',
    500: '#151890',
    950: '#000000',
  },
}
SCSS
$custom: #151890;
$custom-light: #6e58b2;
$custom-dark: #000000;
JSON
{
  "hex": "#151890",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 238.537,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.18583,
    "h": 268.8
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#151890
secondary
#C2BF3E
accent
#ED37F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #151890

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

Preview Lab → · Contrast checker → · Palette generator →

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