#1E3785#1E3785

#1E3785 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.135 H 266.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1E3785
RGBrgb(30, 55, 133)
HSLhsl(225, 63%, 32%)
HSVhsv(225, 77%, 52%)
CMYKcmyk(77.4%, 58.6%, 0%, 47.8%)
CIE-LABlab(25.87, 20.10, -46.53)
CIE-LCHlch(25.87, 50.69, 293.36°)
OKLaboklab(36.84% -0.0087 -0.1342)
OKLCHoklch(36.84% 0.135 266.3)
XYZxyz(6.1338, 4.7012, 22.7699)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3785 #856C1E
analogous
#1E6B85 #1E3785 #391E85
triadic
#1E3785 #851E37 #37851E
tetradic
#1E3785 #851E6B #856C1E #1E8539
square
#1E3785 #851E6B #856C1E #1E8539
split-complementary
#1E3785 #85391E #6B851E
monochromatic
#070E21 #132253 #1E3785 #294CB7 #486AD6

Accessibility & contrast

On white

10.82
#1E3785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1E3785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3785
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3785#FFFFFF#000000##FFFFFF
##1E37851.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e3785;
/* rgb */ color: rgb(30, 55, 133);
/* oklch */ color: oklch(36.8% 0.135 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a6da9',
    500: '#1e3785',
    950: '#000000',
  },
}
SCSS
$custom: #1e3785;
$custom-light: #6a6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3785",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 225.437,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36836,
    "c": 0.13452,
    "h": 266.3
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#1E3785
secondary
#B89C47
accent
#BE42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1E3785

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

Preview Lab → · Contrast checker → · Palette generator →

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