#1E226C#1E226C

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

Color values

HEX#1E226C
RGBrgb(30, 34, 108)
HSLhsl(237, 57%, 27%)
HSVhsv(237, 72%, 42%)
CMYKcmyk(72.2%, 68.5%, 0%, 57.6%)
CIE-LABlab(17.93, 24.92, -43.56)
CIE-LCHlch(17.93, 50.18, 299.78°)
OKLaboklab(30.27% 0.008 -0.1258)
OKLCHoklch(30.27% 0.126 273.6)
XYZxyz(3.8133, 2.5024, 14.4665)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E226C #6C681E
analogous
#1E496C #1E226C #411E6C
triadic
#1E226C #6C1E22 #226C1E
tetradic
#1E226C #6C1E49 #6C681E #1E6C41
square
#1E226C #6C1E49 #6C681E #1E6C41
split-complementary
#1E226C #6C411E #496C1E
monochromatic
#070818 #11133C #1E226C #2B319C #3C43C9

Accessibility & contrast

On white

13.99
#1E226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E226C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E226C#FFFFFF#000000##FFFFFF
##1E226C1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e226c;
/* rgb */ color: rgb(30, 34, 108);
/* oklch */ color: oklch(30.3% 0.126 273.6);
Tailwind
colors: {
  custom: {
    50: '#665d97',
    500: '#1e226c',
    950: '#000000',
  },
}
SCSS
$custom: #1e226c;
$custom-light: #665d97;
$custom-dark: #000000;
JSON
{
  "hex": "#1e226c",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 236.923,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30266,
    "c": 0.12601,
    "h": 273.6
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#1E226C
secondary
#A09C45
accent
#D848E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E226C

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

Preview Lab → · Contrast checker → · Palette generator →

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