#151690#151690

#151690 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.187 H 268.9°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#151690
RGBrgb(21, 22, 144)
HSLhsl(240, 75%, 32%)
HSVhsv(240, 85%, 56%)
CMYKcmyk(85.4%, 84.7%, 0%, 43.5%)
CIE-LABlab(19.00, 44.04, -64.71)
CIE-LCHlch(19.00, 78.27, 304.24°)
OKLaboklab(32.09% -0.0034 -0.1873)
OKLCHoklch(32.09% 0.187 268.9)
XYZxyz(5.6285, 2.7462, 26.6136)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151690 #908F15
analogous
#155490 #151690 #511590
triadic
#151690 #901516 #169015
tetradic
#151690 #901554 #908F15 #159051
square
#151690 #901554 #908F15 #159051
split-complementary
#151690 #905115 #549015
monochromatic
#050625 #0D0E5B #151690 #1D1EC5 #3D3EE3

Accessibility & contrast

On white

13.55
#151690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#151690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151690
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151690#FFFFFF#000000##FFFFFF
##1516901.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #151690;
/* rgb */ color: rgb(21, 22, 144);
/* oklch */ color: oklch(32.1% 0.187 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e57b2',
    500: '#151690',
    950: '#000000',
  },
}
SCSS
$custom: #151690;
$custom-light: #6e57b2;
$custom-dark: #000000;
JSON
{
  "hex": "#151690",
  "rgb": {
    "r": 21,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 239.512,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3209,
    "c": 0.18738,
    "h": 268.9
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#151690
secondary
#C2C13E
accent
#F037F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #151690

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

Preview Lab → · Contrast checker → · Palette generator →

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