#152890#152890

#152890 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.170 H 267.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#152890
RGBrgb(21, 40, 144)
HSLhsl(231, 75%, 32%)
HSVhsv(231, 85%, 56%)
CMYKcmyk(85.4%, 72.2%, 0%, 43.5%)
CIE-LABlab(22.62, 33.73, -58.71)
CIE-LCHlch(22.62, 67.71, 299.88°)
OKLaboklab(34.65% -0.0081 -0.1702)
OKLCHoklch(34.65% 0.17 267.3)
XYZxyz(6.1003, 3.6899, 26.7708)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152890 #907D15
analogous
#156590 #152890 #401590
triadic
#152890 #901528 #289015
tetradic
#152890 #901565 #907D15 #159040
square
#152890 #901565 #907D15 #159040
split-complementary
#152890 #904015 #659015
monochromatic
#050A25 #0D195B #152890 #1D37C5 #3D56E3

Accessibility & contrast

On white

12.08
#152890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#152890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152890
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152890#FFFFFF#000000##FFFFFF
##1528901.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #152890;
/* rgb */ color: rgb(21, 40, 144);
/* oklch */ color: oklch(34.7% 0.170 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c62b2',
    500: '#152890',
    950: '#000000',
  },
}
SCSS
$custom: #152890;
$custom-light: #6c62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#152890",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 230.732,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.17037,
    "h": 267.3
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#152890
secondary
#C2AE3E
accent
#D437F1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #152890

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

Preview Lab → · Contrast checker → · Palette generator →

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