#1E2A8B#1E2A8B

#1E2A8B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.159 H 269.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1E2A8B
RGBrgb(30, 42, 139)
HSLhsl(233, 64%, 33%)
HSVhsv(233, 78%, 55%)
CMYKcmyk(78.4%, 69.8%, 0%, 45.5%)
CIE-LABlab(22.98, 31.30, -54.99)
CIE-LCHlch(22.98, 63.27, 299.65°)
OKLaboklab(34.87% -0.0002 -0.1592)
OKLCHoklch(34.87% 0.159 269.9)
XYZxyz(6.0220, 3.7954, 24.8363)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A8B #8B7F1E
analogous
#1E618B #1E2A8B #481E8B
triadic
#1E2A8B #8B1E2A #2A8B1E
tetradic
#1E2A8B #8B1E61 #8B7F1E #1E8B48
square
#1E2A8B #8B1E61 #8B7F1E #1E8B48
split-complementary
#1E2A8B #8B481E #618B1E
monochromatic
#080C26 #131B59 #1E2A8B #2939BD #4B5BD8

Accessibility & contrast

On white

11.94
#1E2A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E2A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A8B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A8B#FFFFFF#000000##FFFFFF
##1E2A8B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2a8b;
/* rgb */ color: rgb(30, 42, 139);
/* oklch */ color: oklch(34.9% 0.159 269.9);
Tailwind
colors: {
  custom: {
    50: '#6d64ae',
    500: '#1e2a8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a8b;
$custom-light: #6d64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a8b",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 233.394,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34874,
    "c": 0.15916,
    "h": 269.9
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#1E2A8B
secondary
#BBAE4A
accent
#D540E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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