#1E2385#1E2385

#1E2385 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.159 H 271.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1E2385
RGBrgb(30, 35, 133)
HSLhsl(237, 63%, 32%)
HSVhsv(237, 77%, 52%)
CMYKcmyk(77.4%, 73.7%, 0%, 47.8%)
CIE-LABlab(20.72, 33.58, -54.96)
CIE-LCHlch(20.72, 64.41, 301.43°)
OKLaboklab(33.05% 0.0043 -0.1591)
OKLCHoklch(33.05% 0.159 271.5)
XYZxyz(5.3687, 3.1710, 22.5149)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2385 #85801E
analogous
#1E5785 #1E2385 #4C1E85
triadic
#1E2385 #851E23 #23851E
tetradic
#1E2385 #851E57 #85801E #1E854C
square
#1E2385 #851E57 #85801E #1E854C
split-complementary
#1E2385 #854C1E #57851E
monochromatic
#070921 #131653 #1E2385 #2930B7 #484FD6

Accessibility & contrast

On white

12.85
#1E2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2385
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2385#FFFFFF#000000##FFFFFF
##1E23851.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2385;
/* rgb */ color: rgb(30, 35, 133);
/* oklch */ color: oklch(33.1% 0.159 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c5faa',
    500: '#1e2385',
    950: '#000000',
  },
}
SCSS
$custom: #1e2385;
$custom-light: #6c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2385",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 237.087,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33052,
    "c": 0.15915,
    "h": 271.5
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#1E2385
secondary
#B8B247
accent
#DE42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2385

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

Preview Lab → · Contrast checker → · Palette generator →

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