#1E2185#1E2185

#1E2185 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.161 H 271.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2185
RGBrgb(30, 33, 133)
HSLhsl(238, 63%, 32%)
HSVhsv(238, 77%, 52%)
CMYKcmyk(77.4%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.27, 34.83, -55.70)
CIE-LCHlch(20.27, 65.69, 302.02°)
OKLaboklab(32.73% 0.0053 -0.1612)
OKLCHoklch(32.73% 0.161 271.9)
XYZxyz(5.3115, 3.0566, 22.4958)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2185 #85821E
analogous
#1E5585 #1E2185 #4E1E85
triadic
#1E2185 #851E21 #21851E
tetradic
#1E2185 #851E55 #85821E #1E854E
square
#1E2185 #851E55 #85821E #1E854E
split-complementary
#1E2185 #854E1E #55851E
monochromatic
#070821 #131553 #1E2185 #292DB7 #484CD6

Accessibility & contrast

On white

13.03
#1E2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2185
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2185#FFFFFF#000000##FFFFFF
##1E21851.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.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: #1e2185;
/* rgb */ color: rgb(30, 33, 133);
/* oklch */ color: oklch(32.7% 0.161 271.9);
Tailwind
colors: {
  custom: {
    50: '#6c5daa',
    500: '#1e2185',
    950: '#000000',
  },
}
SCSS
$custom: #1e2185;
$custom-light: #6c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2185",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 238.252,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32732,
    "c": 0.16132,
    "h": 271.9
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#1E2185
secondary
#B8B447
accent
#E142E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2185

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

Preview Lab → · Contrast checker → · Palette generator →

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