#1E2285#1E2285

#1E2285 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.160 H 271.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1E2285
RGBrgb(30, 34, 133)
HSLhsl(238, 63%, 32%)
HSVhsv(238, 77%, 52%)
CMYKcmyk(77.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(20.49, 34.21, -55.34)
CIE-LCHlch(20.49, 65.06, 301.72°)
OKLaboklab(32.89% 0.0048 -0.1602)
OKLCHoklch(32.89% 0.16 271.7)
XYZxyz(5.3397, 3.1130, 22.5052)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2285 #85811E
analogous
#1E5685 #1E2285 #4E1E85
triadic
#1E2285 #851E22 #22851E
tetradic
#1E2285 #851E56 #85811E #1E854E
square
#1E2285 #851E56 #85811E #1E854E
split-complementary
#1E2285 #854E1E #56851E
monochromatic
#070821 #131553 #1E2285 #292FB7 #484DD6

Accessibility & contrast

On white

12.94
#1E2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2285
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2285#FFFFFF#000000##FFFFFF
##1E22851.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2285;
/* rgb */ color: rgb(30, 34, 133);
/* oklch */ color: oklch(32.9% 0.160 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c5eaa',
    500: '#1e2285',
    950: '#000000',
  },
}
SCSS
$custom: #1e2285;
$custom-light: #6c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2285",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 237.67,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32891,
    "c": 0.16024,
    "h": 271.7
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#1E2285
secondary
#B8B347
accent
#E042E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2285

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

Preview Lab → · Contrast checker → · Palette generator →

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