#1E2785#1E2785

#1E2785 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.155 H 270.8°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#1E2785
RGBrgb(30, 39, 133)
HSLhsl(235, 63%, 32%)
HSVhsv(235, 77%, 52%)
CMYKcmyk(77.4%, 70.7%, 0%, 47.8%)
CIE-LABlab(21.65, 31.02, -53.42)
CIE-LCHlch(21.65, 61.77, 300.14°)
OKLaboklab(33.73% 0.0021 -0.1546)
OKLCHoklch(33.73% 0.155 270.8)
XYZxyz(5.4931, 3.4199, 22.5564)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2785 #857C1E
analogous
#1E5B85 #1E2785 #491E85
triadic
#1E2785 #851E27 #27851E
tetradic
#1E2785 #851E5B #857C1E #1E8549
square
#1E2785 #851E5B #857C1E #1E8549
split-complementary
#1E2785 #85491E #5B851E
monochromatic
#070A21 #131853 #1E2785 #2936B7 #4854D6

Accessibility & contrast

On white

12.47
#1E2785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2785
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2785#FFFFFF#000000##FFFFFF
##1E27851.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2785;
/* rgb */ color: rgb(30, 39, 133);
/* oklch */ color: oklch(33.7% 0.155 270.8);
Tailwind
colors: {
  custom: {
    50: '#6c61a9',
    500: '#1e2785',
    950: '#000000',
  },
}
SCSS
$custom: #1e2785;
$custom-light: #6c61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2785",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 234.757,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.1546,
    "h": 270.8
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#1E2785
secondary
#B8AE47
accent
#D842E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2785

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

Preview Lab → · Contrast checker → · Palette generator →

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