#1E22B3#1E22B3

#1E22B3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.217 H 269.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1E22B3
RGBrgb(30, 34, 179)
HSLhsl(238, 71%, 41%)
HSVhsv(238, 83%, 70%)
CMYKcmyk(83.2%, 81%, 0%, 29.8%)
CIE-LABlab(25.78, 49.81, -74.76)
CIE-LCHlch(25.78, 89.83, 303.68°)
OKLaboklab(38.17% -0.0035 -0.2165)
OKLCHoklch(38.17% 0.217 269.1)
XYZxyz(9.2413, 4.6736, 43.0541)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E22B3 #B3AF1E
analogous
#1E6CB3 #1E22B3 #641EB3
triadic
#1E22B3 #B31E22 #22B31E
tetradic
#1E22B3 #B31E6C #B3AF1E #1EB364
square
#1E22B3 #B31E6C #B3AF1E #1EB364
split-complementary
#1E22B3 #B3641E #6CB31E
monochromatic
#0C0E4A #15187F #1E22B3 #3236DD #6669E5

Accessibility & contrast

On white

10.85
#1E22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1E22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E22B3
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E22B3#FFFFFF#000000##FFFFFF
##1E22B31.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e22b3;
/* rgb */ color: rgb(30, 34, 179);
/* oklch */ color: oklch(38.2% 0.217 269.1);
Tailwind
colors: {
  custom: {
    50: '#7861cb',
    500: '#1e22b3',
    950: '#000000',
  },
}
SCSS
$custom: #1e22b3;
$custom-light: #7861cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e22b3",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 238.389,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38171,
    "c": 0.21654,
    "h": 269.1
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#1E22B3
secondary
#CBC862
accent
#E93AEE
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1E22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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