#1E2A85#1E2A85

#1E2A85 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.151 H 270.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1E2A85
RGBrgb(30, 42, 133)
HSLhsl(233, 63%, 32%)
HSVhsv(233, 77%, 52%)
CMYKcmyk(77.4%, 68.4%, 0%, 47.8%)
CIE-LABlab(22.39, 29.03, -52.21)
CIE-LCHlch(22.39, 59.74, 299.08°)
OKLaboklab(34.26% 0.0003 -0.151)
OKLCHoklch(34.26% 0.151 270.1)
XYZxyz(5.5956, 3.6248, 22.5905)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A85 #85791E
analogous
#1E5E85 #1E2A85 #461E85
triadic
#1E2A85 #851E2A #2A851E
tetradic
#1E2A85 #851E5E #85791E #1E8546
square
#1E2A85 #851E5E #85791E #1E8546
split-complementary
#1E2A85 #85461E #5E851E
monochromatic
#070A21 #131A53 #1E2A85 #293AB7 #4858D6

Accessibility & contrast

On white

12.17
#1E2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A85
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A85#FFFFFF#000000##FFFFFF
##1E2A851.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2a85;
/* rgb */ color: rgb(30, 42, 133);
/* oklch */ color: oklch(34.3% 0.151 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1e2a85',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a85;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a85",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 233.01,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.15104,
    "h": 270.1
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#1E2A85
secondary
#B8AB47
accent
#D342E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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