#1E22A7#1E22A7

#1E22A7 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.203 H 269.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1E22A7
RGBrgb(30, 34, 167)
HSLhsl(238, 70%, 39%)
HSVhsv(238, 82%, 65%)
CMYKcmyk(82%, 79.6%, 0%, 34.5%)
CIE-LABlab(24.35, 45.92, -69.92)
CIE-LCHlch(24.35, 83.65, 303.30°)
OKLaboklab(36.76% -0.0012 -0.2025)
OKLCHoklch(36.76% 0.203 269.6)
XYZxyz(8.0801, 4.2091, 36.9383)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E22A7 #A7A31E
analogous
#1E66A7 #1E22A7 #5E1EA7
triadic
#1E22A7 #A71E22 #22A71E
tetradic
#1E22A7 #A71E66 #A7A31E #1EA75E
square
#1E22A7 #A71E66 #A7A31E #1EA75E
split-complementary
#1E22A7 #A75E1E #66A71E
monochromatic
#0B0D3F #151773 #1E22A7 #2A2FD9 #5D61E2

Accessibility & contrast

On white

11.40
#1E22A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E22A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E22A7
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E22A7#FFFFFF#000000##FFFFFF
##1E22A71.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e22a7;
/* rgb */ color: rgb(30, 34, 167);
/* oklch */ color: oklch(36.8% 0.203 269.6);
Tailwind
colors: {
  custom: {
    50: '#7560c3',
    500: '#1e22a7',
    950: '#000000',
  },
}
SCSS
$custom: #1e22a7;
$custom-light: #7560c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e22a7",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 238.248,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36756,
    "c": 0.2025,
    "h": 269.6
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#1E22A7
secondary
#C6C35B
accent
#E73BEC
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1E22A7

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

Preview Lab → · Contrast checker → · Palette generator →

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