#1E2982#1E2982

#1E2982 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.148 H 270.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1E2982
RGBrgb(30, 41, 130)
HSLhsl(233, 63%, 31%)
HSVhsv(233, 77%, 51%)
CMYKcmyk(76.9%, 68.5%, 0%, 49%)
CIE-LABlab(21.85, 28.56, -51.22)
CIE-LCHlch(21.85, 58.64, 299.15°)
OKLaboklab(33.78% 0.0012 -0.1481)
OKLCHoklch(33.78% 0.148 270.5)
XYZxyz(5.3562, 3.4730, 21.5028)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2982 #82771E
analogous
#1E5B82 #1E2982 #451E82
triadic
#1E2982 #821E29 #29821E
tetradic
#1E2982 #821E5B #82771E #1E8245
square
#1E2982 #821E5B #82771E #1E8245
split-complementary
#1E2982 #82451E #5B821E
monochromatic
#070A1F #131950 #1E2982 #2939B4 #4656D4

Accessibility & contrast

On white

12.39
#1E2982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2982
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2982#FFFFFF#000000##FFFFFF
##1E29821.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2982;
/* rgb */ color: rgb(30, 41, 130);
/* oklch */ color: oklch(33.8% 0.148 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b63a7',
    500: '#1e2982',
    950: '#000000',
  },
}
SCSS
$custom: #1e2982;
$custom-light: #6b63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2982",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 233.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33777,
    "c": 0.14814,
    "h": 270.5
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#1E2982
secondary
#B5A947
accent
#D442E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2982

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

Preview Lab → · Contrast checker → · Palette generator →

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