#1E227A#1E227A

#1E227A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.146 H 272.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1E227A
RGBrgb(30, 34, 122)
HSLhsl(237, 61%, 30%)
HSVhsv(237, 75%, 48%)
CMYKcmyk(75.4%, 72.1%, 0%, 52.2%)
CIE-LABlab(19.33, 30.19, -50.28)
CIE-LCHlch(19.33, 58.65, 300.98°)
OKLaboklab(31.71% 0.0064 -0.1454)
OKLCHoklch(31.71% 0.146 272.5)
XYZxyz(4.6191, 2.8247, 18.7104)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E227A #7A761E
analogous
#1E507A #1E227A #481E7A
triadic
#1E227A #7A1E22 #227A1E
tetradic
#1E227A #7A1E50 #7A761E #1E7A48
square
#1E227A #7A1E50 #7A761E #1E7A48
split-complementary
#1E227A #7A481E #507A1E
monochromatic
#060719 #121449 #1E227A #2A30AB #4248D0

Accessibility & contrast

On white

13.42
#1E227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E227A
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E227A#FFFFFF#000000##FFFFFF
##1E227A1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e227a;
/* rgb */ color: rgb(30, 34, 122);
/* oklch */ color: oklch(31.7% 0.146 272.5);
Tailwind
colors: {
  custom: {
    50: '#695da1',
    500: '#1e227a',
    950: '#000000',
  },
}
SCSS
$custom: #1e227a;
$custom-light: #695da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e227a",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 237.391,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31706,
    "c": 0.14557,
    "h": 272.5
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#1E227A
secondary
#AEA946
accent
#DD44E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E227A

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

Preview Lab → · Contrast checker → · Palette generator →

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