#151390#151390

#151390 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.8% C 0.190 H 269.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#151390
RGBrgb(21, 19, 144)
HSLhsl(241, 77%, 32%)
HSVhsv(241, 87%, 56%)
CMYKcmyk(85.4%, 86.8%, 0%, 43.5%)
CIE-LABlab(18.53, 45.42, -65.48)
CIE-LCHlch(18.53, 79.69, 304.75°)
OKLaboklab(31.77% -0.003 -0.1895)
OKLCHoklch(31.77% 0.19 269.1)
XYZxyz(5.5745, 2.6381, 26.5956)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151390 #8E9013
analogous
#135090 #151390 #541390
triadic
#151390 #901513 #139015
tetradic
#151390 #901350 #8E9013 #139054
square
#151390 #901350 #8E9013 #139054
split-complementary
#151390 #905413 #509013
monochromatic
#050524 #0D0C5A #151390 #1D1AC6 #3B39E5

Accessibility & contrast

On white

13.75
#151390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#151390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151390
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151390#FFFFFF#000000##FFFFFF
##1513901.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003393
Deuteranopia (green-blind)
#00268E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #151390;
/* rgb */ color: rgb(21, 19, 144);
/* oklch */ color: oklch(31.8% 0.190 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e56b2',
    500: '#151390',
    950: '#000000',
  },
}
SCSS
$custom: #151390;
$custom-light: #6e56b2;
$custom-dark: #000000;
JSON
{
  "hex": "#151390",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 240.96,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31769,
    "c": 0.18954,
    "h": 269.1
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#151390
secondary
#C2C43B
accent
#F335F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #151390

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

Preview Lab → · Contrast checker → · Palette generator →

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