#1E2585#1E2585

#1E2585 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.157 H 271.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1E2585
RGBrgb(30, 37, 133)
HSLhsl(236, 63%, 32%)
HSVhsv(236, 77%, 52%)
CMYKcmyk(77.4%, 72.2%, 0%, 47.8%)
CIE-LABlab(21.18, 32.31, -54.20)
CIE-LCHlch(21.18, 63.11, 300.80°)
OKLaboklab(33.38% 0.0032 -0.1569)
OKLCHoklch(33.38% 0.157 271.2)
XYZxyz(5.4292, 3.2920, 22.5350)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2585 #857E1E
analogous
#1E5985 #1E2585 #4A1E85
triadic
#1E2585 #851E25 #25851E
tetradic
#1E2585 #851E59 #857E1E #1E854A
square
#1E2585 #851E59 #857E1E #1E854A
split-complementary
#1E2585 #854A1E #59851E
monochromatic
#070921 #131753 #1E2585 #2933B7 #4851D6

Accessibility & contrast

On white

12.66
#1E2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2585
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2585#FFFFFF#000000##FFFFFF
##1E25851.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2585;
/* rgb */ color: rgb(30, 37, 133);
/* oklch */ color: oklch(33.4% 0.157 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c60aa',
    500: '#1e2585',
    950: '#000000',
  },
}
SCSS
$custom: #1e2585;
$custom-light: #6c60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2585",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 235.922,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33383,
    "c": 0.15691,
    "h": 271.2
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#1E2585
secondary
#B8B047
accent
#DB42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2585

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

Preview Lab → · Contrast checker → · Palette generator →

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