#1E2485#1E2485

#1E2485 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.158 H 271.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#1E2485
RGBrgb(30, 36, 133)
HSLhsl(237, 63%, 32%)
HSVhsv(237, 77%, 52%)
CMYKcmyk(77.4%, 72.9%, 0%, 47.8%)
CIE-LABlab(20.95, 32.95, -54.59)
CIE-LCHlch(20.95, 63.76, 301.12°)
OKLaboklab(33.22% 0.0038 -0.158)
OKLCHoklch(33.22% 0.158 271.4)
XYZxyz(5.3985, 3.2307, 22.5248)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2485 #857F1E
analogous
#1E5885 #1E2485 #4C1E85
triadic
#1E2485 #851E24 #24851E
tetradic
#1E2485 #851E58 #857F1E #1E854C
square
#1E2485 #851E58 #857F1E #1E854C
split-complementary
#1E2485 #854C1E #58851E
monochromatic
#070921 #131653 #1E2485 #2932B7 #4850D6

Accessibility & contrast

On white

12.76
#1E2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2485
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2485#FFFFFF#000000##FFFFFF
##1E24851.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2485;
/* rgb */ color: rgb(30, 36, 133);
/* oklch */ color: oklch(33.2% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#6c5faa',
    500: '#1e2485',
    950: '#000000',
  },
}
SCSS
$custom: #1e2485;
$custom-light: #6c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2485",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 236.505,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.15803,
    "h": 271.4
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#1E2485
secondary
#B8B147
accent
#DD42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2485

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

Preview Lab → · Contrast checker → · Palette generator →

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