#1E22B4#1E22B4

#1E22B4 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.218 H 269.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#1E22B4
RGBrgb(30, 34, 180)
HSLhsl(238, 71%, 41%)
HSVhsv(238, 83%, 71%)
CMYKcmyk(83.3%, 81.1%, 0%, 29.4%)
CIE-LABlab(25.90, 50.13, -75.15)
CIE-LCHlch(25.90, 90.34, 303.71°)
OKLaboklab(38.29% -0.0037 -0.2177)
OKLCHoklch(38.29% 0.218 269)
XYZxyz(9.3428, 4.7142, 43.5887)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E22B4 #B4B01E
analogous
#1E6DB4 #1E22B4 #651EB4
triadic
#1E22B4 #B41E22 #22B41E
tetradic
#1E22B4 #B41E6D #B4B01E #1EB465
square
#1E22B4 #B41E6D #B4B01E #1EB465
split-complementary
#1E22B4 #B4651E #6DB41E
monochromatic
#0D0E4B #151880 #1E22B4 #3237DD #676AE6

Accessibility & contrast

On white

10.81
#1E22B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E22B4
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E22B4#FFFFFF#000000##FFFFFF
##1E22B41.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#0035B2
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e22b4;
/* rgb */ color: rgb(30, 34, 180);
/* oklch */ color: oklch(38.3% 0.218 269.0);
Tailwind
colors: {
  custom: {
    50: '#7961cc',
    500: '#1e22b4',
    950: '#000000',
  },
}
SCSS
$custom: #1e22b4;
$custom-light: #7961cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e22b4",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 238.4,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38289,
    "c": 0.21769,
    "h": 269
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E22B4

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

Preview Lab → · Contrast checker → · Palette generator →

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