#1E2A8D#1E2A8D

#1E2A8D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.162 H 269.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1E2A8D
RGBrgb(30, 42, 141)
HSLhsl(234, 65%, 34%)
HSVhsv(234, 79%, 55%)
CMYKcmyk(78.7%, 70.2%, 0%, 44.7%)
CIE-LABlab(23.18, 32.05, -55.90)
CIE-LCHlch(23.18, 64.44, 299.82°)
OKLaboklab(35.08% -0.0004 -0.1618)
OKLCHoklch(35.08% 0.162 269.9)
XYZxyz(6.1695, 3.8544, 25.6130)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A8D #8D811E
analogous
#1E618D #1E2A8D #4A1E8D
triadic
#1E2A8D #8D1E2A #2A8D1E
tetradic
#1E2A8D #8D1E61 #8D811E #1E8D4A
square
#1E2A8D #8D1E61 #8D811E #1E8D4A
split-complementary
#1E2A8D #8D4A1E #618D1E
monochromatic
#090C28 #131B5B #1E2A8D #2939BF #4C5CD9

Accessibility & contrast

On white

11.86
#1E2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A8D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A8D#FFFFFF#000000##FFFFFF
##1E2A8D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2a8d;
/* rgb */ color: rgb(30, 42, 141);
/* oklch */ color: oklch(35.1% 0.162 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e64af',
    500: '#1e2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a8d;
$custom-light: #6e64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a8d",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 233.514,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35081,
    "c": 0.16183,
    "h": 269.9
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#1E2A8D
secondary
#BCAF4B
accent
#D640E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1E2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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