#1E2282#1E2282

#1E2282 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.156 H 271.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1E2282
RGBrgb(30, 34, 130)
HSLhsl(238, 63%, 31%)
HSVhsv(238, 77%, 51%)
CMYKcmyk(76.9%, 73.8%, 0%, 49%)
CIE-LABlab(20.17, 33.12, -53.98)
CIE-LCHlch(20.17, 63.33, 301.54°)
OKLaboklab(32.56% 0.0053 -0.1562)
OKLCHoklch(32.56% 0.156 271.9)
XYZxyz(5.1354, 3.0312, 21.4292)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2282 #827E1E
analogous
#1E5482 #1E2282 #4C1E82
triadic
#1E2282 #821E22 #22821E
tetradic
#1E2282 #821E54 #827E1E #1E824C
square
#1E2282 #821E54 #827E1E #1E824C
split-complementary
#1E2282 #824C1E #54821E
monochromatic
#07081F #131550 #1E2282 #292FB4 #464CD4

Accessibility & contrast

On white

13.07
#1E2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2282
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2282#FFFFFF#000000##FFFFFF
##1E22821.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2282;
/* rgb */ color: rgb(30, 34, 130);
/* oklch */ color: oklch(32.6% 0.156 271.9);
Tailwind
colors: {
  custom: {
    50: '#6b5ea7',
    500: '#1e2282',
    950: '#000000',
  },
}
SCSS
$custom: #1e2282;
$custom-light: #6b5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2282",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 237.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32564,
    "c": 0.1563,
    "h": 271.9
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#1E2282
secondary
#B5B147
accent
#DF42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2282

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

Preview Lab → · Contrast checker → · Palette generator →

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