#1E2AA0#1E2AA0

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

Color values

HEX#1E2AA0
RGBrgb(30, 42, 160)
HSLhsl(234, 68%, 37%)
HSVhsv(234, 81%, 63%)
CMYKcmyk(81.3%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.17, 38.97, -64.32)
CIE-LCHlch(25.17, 75.21, 301.21°)
OKLaboklab(37.1% -0.0026 -0.1863)
OKLCHoklch(37.1% 0.186 269.2)
XYZxyz(7.7064, 4.4691, 33.7074)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2AA0 #A0941E
analogous
#1E6BA0 #1E2AA0 #531EA0
triadic
#1E2AA0 #A01E2A #2AA01E
tetradic
#1E2AA0 #A01E6B #A0941E #1EA053
square
#1E2AA0 #A01E6B #A0941E #1EA053
split-complementary
#1E2AA0 #A0531E #6BA01E
monochromatic
#0B0F39 #141C6C #1E2AA0 #2838D4 #5965E0

Accessibility & contrast

On white

11.09
#1E2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E2AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2AA0
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2AA0#FFFFFF#000000##FFFFFF
##1E2AA01.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2aa0;
/* rgb */ color: rgb(30, 42, 160);
/* oklch */ color: oklch(37.1% 0.186 269.2);
Tailwind
colors: {
  custom: {
    50: '#7364bd',
    500: '#1e2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #1e2aa0;
$custom-light: #7364bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2aa0",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 234.462,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37101,
    "c": 0.18637,
    "h": 269.2
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#1E2AA0
secondary
#C4B956
accent
#DB3DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #1E2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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