#1E2A9D#1E2A9D

#1E2A9D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.183 H 269.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1E2A9D
RGBrgb(30, 42, 157)
HSLhsl(234, 68%, 37%)
HSVhsv(234, 81%, 62%)
CMYKcmyk(80.9%, 73.2%, 0%, 38.4%)
CIE-LABlab(24.84, 37.90, -63.02)
CIE-LCHlch(24.84, 73.54, 301.02°)
OKLaboklab(36.78% -0.0022 -0.1826)
OKLCHoklch(36.78% 0.183 269.3)
XYZxyz(7.4471, 4.3654, 32.3419)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A9D #9D911E
analogous
#1E6A9D #1E2A9D #521E9D
triadic
#1E2A9D #9D1E2A #2A9D1E
tetradic
#1E2A9D #9D1E6A #9D911E #1E9D52
square
#1E2A9D #9D1E6A #9D911E #1E9D52
split-complementary
#1E2A9D #9D521E #6A9D1E
monochromatic
#0A0F36 #141C6A #1E2A9D #2838D0 #5763DF

Accessibility & contrast

On white

11.21
#1E2A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E2A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A9D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A9D#FFFFFF#000000##FFFFFF
##1E2A9D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e2a9d;
/* rgb */ color: rgb(30, 42, 157);
/* oklch */ color: oklch(36.8% 0.183 269.3);
Tailwind
colors: {
  custom: {
    50: '#7264bb',
    500: '#1e2a9d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a9d;
$custom-light: #7264bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a9d",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 234.331,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36776,
    "c": 0.18258,
    "h": 269.3
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#1E2A9D
secondary
#C2B854
accent
#DA3DEB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1E2A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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