#1E2E82#1E2E82

#1E2E82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.142 H 269.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1E2E82
RGBrgb(30, 46, 130)
HSLhsl(230, 63%, 31%)
HSVhsv(230, 77%, 51%)
CMYKcmyk(76.9%, 64.6%, 0%, 49%)
CIE-LABlab(23.14, 25.16, -49.10)
CIE-LCHlch(23.14, 55.17, 297.14°)
OKLaboklab(34.73% -0.0021 -0.1419)
OKLCHoklch(34.73% 0.142 269.1)
XYZxyz(5.5403, 3.8411, 21.5642)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E82 #82721E
analogous
#1E6082 #1E2E82 #401E82
triadic
#1E2E82 #821E2E #2E821E
tetradic
#1E2E82 #821E60 #82721E #1E8240
square
#1E2E82 #821E60 #82721E #1E8240
split-complementary
#1E2E82 #82401E #60821E
monochromatic
#070B1F #131C50 #1E2E82 #2940B4 #465DD4

Accessibility & contrast

On white

11.88
#1E2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E82
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E82#FFFFFF#000000##FFFFFF
##1E2E821.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2e82;
/* rgb */ color: rgb(30, 46, 130);
/* oklch */ color: oklch(34.7% 0.142 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a66a7',
    500: '#1e2e82',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e82;
$custom-light: #6a66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e82",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 230.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34725,
    "c": 0.14192,
    "h": 269.1
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#1E2E82
secondary
#B5A347
accent
#CB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1E2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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