#1E226D#1E226D

#1E226D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.127 H 273.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#1E226D
RGBrgb(30, 34, 109)
HSLhsl(237, 57%, 27%)
HSVhsv(237, 72%, 43%)
CMYKcmyk(72.5%, 68.8%, 0%, 57.3%)
CIE-LABlab(18.03, 25.30, -44.05)
CIE-LCHlch(18.03, 50.80, 299.87°)
OKLaboklab(30.37% 0.0079 -0.1272)
OKLCHoklch(30.37% 0.127 273.6)
XYZxyz(3.8668, 2.5238, 14.7484)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E226D #6D691E
analogous
#1E4A6D #1E226D #421E6D
triadic
#1E226D #6D1E22 #226D1E
tetradic
#1E226D #6D1E4A #6D691E #1E6D42
square
#1E226D #6D1E4A #6D691E #1E6D42
split-complementary
#1E226D #6D421E #4A6D1E
monochromatic
#070718 #11133D #1E226D #2B319D #3C43C9

Accessibility & contrast

On white

13.96
#1E226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E226D
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E226D#FFFFFF#000000##FFFFFF
##1E226D1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e226d;
/* rgb */ color: rgb(30, 34, 109);
/* oklch */ color: oklch(30.4% 0.127 273.6);
Tailwind
colors: {
  custom: {
    50: '#665d98',
    500: '#1e226d',
    950: '#000000',
  },
}
SCSS
$custom: #1e226d;
$custom-light: #665d98;
$custom-dark: #000000;
JSON
{
  "hex": "#1e226d",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 236.962,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30366,
    "c": 0.12745,
    "h": 273.6
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#1E226D
secondary
#A19D45
accent
#D848E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1E226D

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

Preview Lab → · Contrast checker → · Palette generator →

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