#151190#151190

#151190 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.191 H 269.2°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#151190
RGBrgb(21, 17, 144)
HSLhsl(242, 79%, 32%)
HSVhsv(242, 88%, 56%)
CMYKcmyk(85.4%, 88.2%, 0%, 43.5%)
CIE-LABlab(18.25, 46.27, -65.96)
CIE-LCHlch(18.25, 80.57, 305.05°)
OKLaboklab(31.57% -0.0028 -0.1908)
OKLCHoklch(31.57% 0.191 269.2)
XYZxyz(5.5420, 2.5733, 26.5847)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151190 #8C9011
analogous
#114D90 #151190 #551190
triadic
#151190 #901511 #119015
tetradic
#151190 #90114D #8C9011 #119055
square
#151190 #90114D #8C9011 #119055
split-complementary
#151190 #905511 #4D9011
monochromatic
#050423 #0D0B59 #151190 #1D17C7 #3A34E7

Accessibility & contrast

On white

13.86
#151190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#151190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151190
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151190#FFFFFF#000000##FFFFFF
##1511901.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151190;
/* rgb */ color: rgb(21, 17, 144);
/* oklch */ color: oklch(31.6% 0.191 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e55b2',
    500: '#151190',
    950: '#000000',
  },
}
SCSS
$custom: #151190;
$custom-light: #6e55b2;
$custom-dark: #000000;
JSON
{
  "hex": "#151190",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 241.89,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31573,
    "c": 0.19087,
    "h": 269.2
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#151190
secondary
#C0C439
accent
#F532EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #151190

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

Preview Lab → · Contrast checker → · Palette generator →

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