#1E22A6#1E22A6

#1E22A6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.6% C 0.201 H 269.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1E22A6
RGBrgb(30, 34, 166)
HSLhsl(238, 69%, 38%)
HSVhsv(238, 82%, 65%)
CMYKcmyk(81.9%, 79.5%, 0%, 34.9%)
CIE-LABlab(24.23, 45.59, -69.51)
CIE-LCHlch(24.23, 83.13, 303.26°)
OKLaboklab(36.64% -0.0011 -0.2013)
OKLCHoklch(36.64% 0.201 269.7)
XYZxyz(7.9880, 4.1723, 36.4533)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E22A6 #A6A21E
analogous
#1E66A6 #1E22A6 #5E1EA6
triadic
#1E22A6 #A61E22 #22A61E
tetradic
#1E22A6 #A61E66 #A6A21E #1EA65E
square
#1E22A6 #A61E66 #A6A21E #1EA65E
split-complementary
#1E22A6 #A65E1E #66A61E
monochromatic
#0B0D3E #151772 #1E22A6 #292ED8 #5D61E2

Accessibility & contrast

On white

11.45
#1E22A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E22A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E22A6
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E22A6#FFFFFF#000000##FFFFFF
##1E22A61.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e22a6;
/* rgb */ color: rgb(30, 34, 166);
/* oklch */ color: oklch(36.6% 0.201 269.7);
Tailwind
colors: {
  custom: {
    50: '#7560c2',
    500: '#1e22a6',
    950: '#000000',
  },
}
SCSS
$custom: #1e22a6;
$custom-light: #7560c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e22a6",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 238.235,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36639,
    "c": 0.20132,
    "h": 269.7
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#1E22A6
secondary
#C6C35A
accent
#E73CEC
background
#F7F5FC
surface
#EEE9F8
border
#C9C5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1E22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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