#1E2D82#1E2D82

#1E2D82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.143 H 269.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1E2D82
RGBrgb(30, 45, 130)
HSLhsl(231, 63%, 31%)
HSVhsv(231, 77%, 51%)
CMYKcmyk(76.9%, 65.4%, 0%, 49%)
CIE-LABlab(22.88, 25.85, -49.53)
CIE-LCHlch(22.88, 55.87, 297.56°)
OKLaboklab(34.53% -0.0014 -0.1432)
OKLCHoklch(34.53% 0.143 269.4)
XYZxyz(5.5017, 3.7639, 21.5513)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D82 #82731E
analogous
#1E5F82 #1E2D82 #411E82
triadic
#1E2D82 #821E2D #2D821E
tetradic
#1E2D82 #821E5F #82731E #1E8241
square
#1E2D82 #821E5F #82731E #1E8241
split-complementary
#1E2D82 #82411E #5F821E
monochromatic
#070B1F #131C50 #1E2D82 #293EB4 #465BD4

Accessibility & contrast

On white

11.98
#1E2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D82
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D82#FFFFFF#000000##FFFFFF
##1E2D821.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2d82;
/* rgb */ color: rgb(30, 45, 130);
/* oklch */ color: oklch(34.5% 0.143 269.4);
Tailwind
colors: {
  custom: {
    50: '#6a65a7',
    500: '#1e2d82',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d82;
$custom-light: #6a65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d82",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 231,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.14319,
    "h": 269.4
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#1E2D82
secondary
#B5A447
accent
#CD42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1E2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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