#1E2E84#1E2E84

#1E2E84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.145 H 269.1°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1E2E84
RGBrgb(30, 46, 132)
HSLhsl(231, 63%, 32%)
HSVhsv(231, 77%, 52%)
CMYKcmyk(77.3%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.32, 25.94, -50.05)
CIE-LCHlch(23.32, 56.38, 297.40°)
OKLaboklab(34.92% -0.0022 -0.1447)
OKLCHoklch(34.92% 0.145 269.1)
XYZxyz(5.6758, 3.8953, 22.2781)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E84 #84741E
analogous
#1E6184 #1E2E84 #411E84
triadic
#1E2E84 #841E2E #2E841E
tetradic
#1E2E84 #841E61 #84741E #1E8441
square
#1E2E84 #841E61 #84741E #1E8441
split-complementary
#1E2E84 #84411E #61841E
monochromatic
#070B20 #131D52 #1E2E84 #293FB6 #475DD5

Accessibility & contrast

On white

11.80
#1E2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E84
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E84#FFFFFF#000000##FFFFFF
##1E2E841.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e2e84;
/* rgb */ color: rgb(30, 46, 132);
/* oklch */ color: oklch(34.9% 0.145 269.1);
Tailwind
colors: {
  custom: {
    50: '#6b66a9',
    500: '#1e2e84',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e84;
$custom-light: #6b66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e84",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 230.588,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34917,
    "c": 0.14472,
    "h": 269.1
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#1E2E84
secondary
#B7A547
accent
#CC42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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