#1E2AA1#1E2AA1

#1E2AA1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.188 H 269.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1E2AA1
RGBrgb(30, 42, 161)
HSLhsl(235, 69%, 37%)
HSVhsv(235, 81%, 63%)
CMYKcmyk(81.4%, 73.9%, 0%, 36.9%)
CIE-LABlab(25.27, 39.33, -64.75)
CIE-LCHlch(25.27, 75.76, 301.27°)
OKLaboklab(37.21% -0.0028 -0.1876)
OKLCHoklch(37.21% 0.188 269.2)
XYZxyz(7.7942, 4.5043, 34.1699)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2AA1 #A1951E
analogous
#1E6BA1 #1E2AA1 #541EA1
triadic
#1E2AA1 #A11E2A #2AA11E
tetradic
#1E2AA1 #A11E6B #A1951E #1EA154
square
#1E2AA1 #A11E6B #A1951E #1EA154
split-complementary
#1E2AA1 #A1541E #6BA11E
monochromatic
#0B0F3A #141D6D #1E2AA1 #2837D5 #5966E0

Accessibility & contrast

On white

11.05
#1E2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2AA1
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2AA1#FFFFFF#000000##FFFFFF
##1E2AA11.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2aa1;
/* rgb */ color: rgb(30, 42, 161);
/* oklch */ color: oklch(37.2% 0.188 269.2);
Tailwind
colors: {
  custom: {
    50: '#7364be',
    500: '#1e2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1e2aa1;
$custom-light: #7364be;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2aa1",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 234.504,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3721,
    "c": 0.18762,
    "h": 269.2
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#1E2AA1
secondary
#C4BA57
accent
#DB3CEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1E2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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