#1E226F#1E226F

#1E226F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.130 H 273.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#1E226F
RGBrgb(30, 34, 111)
HSLhsl(237, 57%, 28%)
HSVhsv(237, 73%, 44%)
CMYKcmyk(73%, 69.4%, 0%, 56.5%)
CIE-LABlab(18.22, 26.06, -45.03)
CIE-LCHlch(18.22, 52.02, 300.06°)
OKLaboklab(30.57% 0.0077 -0.1301)
OKLCHoklch(30.57% 0.13 273.4)
XYZxyz(3.9757, 2.5674, 15.3219)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E226F #6F6B1E
analogous
#1E4A6F #1E226F #421E6F
triadic
#1E226F #6F1E22 #226F1E
tetradic
#1E226F #6F1E4A #6F6B1E #1E6F42
square
#1E226F #6F1E4A #6F6B1E #1E6F42
split-complementary
#1E226F #6F421E #4A6F1E
monochromatic
#070718 #11133F #1E226F #2B319F #3D44CB

Accessibility & contrast

On white

13.87
#1E226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E226F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E226F#FFFFFF#000000##FFFFFF
##1E226F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e226f;
/* rgb */ color: rgb(30, 34, 111);
/* oklch */ color: oklch(30.6% 0.130 273.4);
Tailwind
colors: {
  custom: {
    50: '#675d99',
    500: '#1e226f',
    950: '#000000',
  },
}
SCSS
$custom: #1e226f;
$custom-light: #675d99;
$custom-dark: #000000;
JSON
{
  "hex": "#1e226f",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 237.037,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30567,
    "c": 0.13029,
    "h": 273.4
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#1E226F
secondary
#A39F46
accent
#D947E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E226F

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

Preview Lab → · Contrast checker → · Palette generator →

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