#1E2286#1E2286

#1E2286 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.162 H 271.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#1E2286
RGBrgb(30, 34, 134)
HSLhsl(238, 63%, 32%)
HSVhsv(238, 78%, 53%)
CMYKcmyk(77.6%, 74.6%, 0%, 47.5%)
CIE-LABlab(20.60, 34.57, -55.79)
CIE-LCHlch(20.60, 65.63, 301.79°)
OKLaboklab(33% 0.0046 -0.1615)
OKLCHoklch(33% 0.162 271.6)
XYZxyz(5.4091, 3.1407, 22.8708)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2286 #86821E
analogous
#1E5686 #1E2286 #4E1E86
triadic
#1E2286 #861E22 #22861E
tetradic
#1E2286 #861E56 #86821E #1E864E
square
#1E2286 #861E56 #86821E #1E864E
split-complementary
#1E2286 #864E1E #56861E
monochromatic
#080922 #131554 #1E2286 #292FB8 #484ED6

Accessibility & contrast

On white

12.90
#1E2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2286
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2286#FFFFFF#000000##FFFFFF
##1E22861.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2286;
/* rgb */ color: rgb(30, 34, 134);
/* oklch */ color: oklch(33.0% 0.162 271.6);
Tailwind
colors: {
  custom: {
    50: '#6d5eaa',
    500: '#1e2286',
    950: '#000000',
  },
}
SCSS
$custom: #1e2286;
$custom-light: #6d5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2286",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 237.692,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33,
    "c": 0.16155,
    "h": 271.6
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#1E2286
secondary
#B8B447
accent
#E041E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2286

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

Preview Lab → · Contrast checker → · Palette generator →

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