#1E2EA1#1E2EA1

#1E2EA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.183 H 268.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#1E2EA1
RGBrgb(30, 46, 161)
HSLhsl(233, 69%, 37%)
HSVhsv(233, 81%, 63%)
CMYKcmyk(81.4%, 71.4%, 0%, 36.9%)
CIE-LABlab(26.16, 36.86, -63.28)
CIE-LCHlch(26.16, 73.23, 300.22°)
OKLaboklab(37.85% -0.0044 -0.1833)
OKLCHoklch(37.85% 0.183 268.6)
XYZxyz(7.9432, 4.8023, 34.2196)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2EA1 #A1911E
analogous
#1E6FA1 #1E2EA1 #501EA1
triadic
#1E2EA1 #A11E2E #2EA11E
tetradic
#1E2EA1 #A11E6F #A1911E #1EA150
square
#1E2EA1 #A11E6F #A1911E #1EA150
split-complementary
#1E2EA1 #A1501E #6FA11E
monochromatic
#0B113A #141F6D #1E2EA1 #283DD5 #596AE0

Accessibility & contrast

On white

10.71
#1E2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1E2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2EA1
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2EA1#FFFFFF#000000##FFFFFF
##1E2EA11.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e2ea1;
/* rgb */ color: rgb(30, 46, 161);
/* oklch */ color: oklch(37.9% 0.183 268.6);
Tailwind
colors: {
  custom: {
    50: '#7367be',
    500: '#1e2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1e2ea1;
$custom-light: #7367be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2ea1",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 232.672,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.18339,
    "h": 268.6
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#1E2EA1
secondary
#C4B757
accent
#D63CEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #1E2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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