#1E227D#1E227D

#1E227D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.150 H 272.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1E227D
RGBrgb(30, 34, 125)
HSLhsl(237, 61%, 30%)
HSVhsv(237, 76%, 49%)
CMYKcmyk(76%, 72.8%, 0%, 51%)
CIE-LABlab(19.64, 31.30, -51.68)
CIE-LCHlch(19.64, 60.42, 301.20°)
OKLaboklab(32.03% 0.006 -0.1495)
OKLCHoklch(32.03% 0.15 272.3)
XYZxyz(4.8079, 2.9002, 19.7045)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E227D #7D791E
analogous
#1E517D #1E227D #4A1E7D
triadic
#1E227D #7D1E22 #227D1E
tetradic
#1E227D #7D1E51 #7D791E #1E7D4A
square
#1E227D #7D1E51 #7D791E #1E7D4A
split-complementary
#1E227D #7D4A1E #517D1E
monochromatic
#06071A #12154C #1E227D #2A2FAE #4349D2

Accessibility & contrast

On white

13.29
#1E227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E227D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E227D#FFFFFF#000000##FFFFFF
##1E227D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e227d;
/* rgb */ color: rgb(30, 34, 125);
/* oklch */ color: oklch(32.0% 0.150 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a5ea4',
    500: '#1e227d',
    950: '#000000',
  },
}
SCSS
$custom: #1e227d;
$custom-light: #6a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e227d",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 237.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32025,
    "c": 0.14963,
    "h": 272.3
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#1E227D
secondary
#B0AC46
accent
#DE43E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E227D

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

Preview Lab → · Contrast checker → · Palette generator →

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