#1E2A82#1E2A82

#1E2A82 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.147 H 270.2°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#1E2A82
RGBrgb(30, 42, 130)
HSLhsl(233, 63%, 31%)
HSVhsv(233, 77%, 51%)
CMYKcmyk(76.9%, 67.7%, 0%, 49%)
CIE-LABlab(22.10, 27.89, -50.80)
CIE-LCHlch(22.10, 57.95, 298.77°)
OKLaboklab(33.96% 0.0006 -0.1469)
OKLCHoklch(33.96% 0.147 270.2)
XYZxyz(5.3913, 3.5431, 21.5145)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A82 #82761E
analogous
#1E5C82 #1E2A82 #441E82
triadic
#1E2A82 #821E2A #2A821E
tetradic
#1E2A82 #821E5C #82761E #1E8244
square
#1E2A82 #821E5C #82761E #1E8244
split-complementary
#1E2A82 #82441E #5C821E
monochromatic
#070A1F #131A50 #1E2A82 #293AB4 #4657D4

Accessibility & contrast

On white

12.29
#1E2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A82
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A82#FFFFFF#000000##FFFFFF
##1E2A821.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2a82;
/* rgb */ color: rgb(30, 42, 130);
/* oklch */ color: oklch(34.0% 0.147 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b63a7',
    500: '#1e2a82',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a82;
$custom-light: #6b63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a82",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 232.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33961,
    "c": 0.14692,
    "h": 270.2
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#1E2A82
secondary
#B5A847
accent
#D242E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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