#1E2280#1E2280

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

Color values

HEX#1E2280
RGBrgb(30, 34, 128)
HSLhsl(238, 62%, 31%)
HSVhsv(238, 77%, 50%)
CMYKcmyk(76.6%, 73.4%, 0%, 49.8%)
CIE-LABlab(19.96, 32.39, -53.06)
CIE-LCHlch(19.96, 62.17, 301.40°)
OKLaboklab(32.35% 0.0056 -0.1535)
OKLCHoklch(32.35% 0.154 272.1)
XYZxyz(5.0024, 2.9781, 20.7291)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2280 #807C1E
analogous
#1E5380 #1E2280 #4B1E80
triadic
#1E2280 #801E22 #22801E
tetradic
#1E2280 #801E53 #807C1E #1E804B
square
#1E2280 #801E53 #807C1E #1E804B
split-complementary
#1E2280 #804B1E #53801E
monochromatic
#07081D #12154E #1E2280 #2A2FB2 #454BD3

Accessibility & contrast

On white

13.16
#1E2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2280
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2280#FFFFFF#000000##FFFFFF
##1E22801.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2280;
/* rgb */ color: rgb(30, 34, 128);
/* oklch */ color: oklch(32.3% 0.154 272.1);
Tailwind
colors: {
  custom: {
    50: '#6b5ea6',
    500: '#1e2280',
    950: '#000000',
  },
}
SCSS
$custom: #1e2280;
$custom-light: #6b5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2280",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 237.551,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32347,
    "c": 0.15364,
    "h": 272.1
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#1E2280
secondary
#B3AF47
accent
#DE43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E2280

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

Preview Lab → · Contrast checker → · Palette generator →

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