#1E22A9#1E22A9

#1E22A9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.0% C 0.205 H 269.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#1E22A9
RGBrgb(30, 34, 169)
HSLhsl(238, 70%, 39%)
HSVhsv(238, 82%, 66%)
CMYKcmyk(82.2%, 79.9%, 0%, 33.7%)
CIE-LABlab(24.59, 46.58, -70.73)
CIE-LCHlch(24.59, 84.69, 303.37°)
OKLaboklab(36.99% -0.0016 -0.2049)
OKLCHoklch(36.99% 0.205 269.5)
XYZxyz(8.2664, 4.2837, 37.9196)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E22A9 #A9A51E
analogous
#1E68A9 #1E22A9 #601EA9
triadic
#1E22A9 #A91E22 #22A91E
tetradic
#1E22A9 #A91E68 #A9A51E #1EA960
square
#1E22A9 #A91E68 #A9A51E #1EA960
split-complementary
#1E22A9 #A9601E #68A91E
monochromatic
#0C0D41 #151875 #1E22A9 #2B30D9 #5F63E3

Accessibility & contrast

On white

11.31
#1E22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E22A9
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E22A9#FFFFFF#000000##FFFFFF
##1E22A91.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e22a9;
/* rgb */ color: rgb(30, 34, 169);
/* oklch */ color: oklch(37.0% 0.205 269.5);
Tailwind
colors: {
  custom: {
    50: '#7660c4',
    500: '#1e22a9',
    950: '#000000',
  },
}
SCSS
$custom: #1e22a9;
$custom-light: #7660c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e22a9",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 238.273,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3699,
    "c": 0.20488,
    "h": 269.5
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#1E22A9
secondary
#C7C45C
accent
#E83BED
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1E22A9

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

Preview Lab → · Contrast checker → · Palette generator →

#1E22A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva