#1E2182#1E2182

#1E2182 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.157 H 272.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1E2182
RGBrgb(30, 33, 130)
HSLhsl(238, 63%, 31%)
HSVhsv(238, 77%, 51%)
CMYKcmyk(76.9%, 74.6%, 0%, 49%)
CIE-LABlab(19.94, 33.75, -54.35)
CIE-LCHlch(19.94, 63.97, 301.84°)
OKLaboklab(32.4% 0.0058 -0.1573)
OKLCHoklch(32.4% 0.157 272.1)
XYZxyz(5.1072, 2.9749, 21.4198)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2182 #827F1E
analogous
#1E5382 #1E2182 #4D1E82
triadic
#1E2182 #821E21 #21821E
tetradic
#1E2182 #821E53 #827F1E #1E824D
square
#1E2182 #821E53 #827F1E #1E824D
split-complementary
#1E2182 #824D1E #53821E
monochromatic
#07081F #131450 #1E2182 #292EB4 #464AD4

Accessibility & contrast

On white

13.17
#1E2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2182
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2182#FFFFFF#000000##FFFFFF
##1E21821.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2182;
/* rgb */ color: rgb(30, 33, 130);
/* oklch */ color: oklch(32.4% 0.157 272.1);
Tailwind
colors: {
  custom: {
    50: '#6c5da7',
    500: '#1e2182',
    950: '#000000',
  },
}
SCSS
$custom: #1e2182;
$custom-light: #6c5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2182",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 238.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32402,
    "c": 0.15739,
    "h": 272.1
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#1E2182
secondary
#B5B247
accent
#E142E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2182

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

Preview Lab → · Contrast checker → · Palette generator →

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