#1E4185#1E4185

#1E4185 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.0% C 0.121 H 262.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1E4185
RGBrgb(30, 65, 133)
HSLhsl(220, 63%, 32%)
HSVhsv(220, 77%, 52%)
CMYKcmyk(77.4%, 51.1%, 0%, 47.8%)
CIE-LABlab(28.77, 13.13, -41.82)
CIE-LCHlch(28.77, 43.84, 287.43°)
OKLaboklab(39.04% -0.017 -0.1202)
OKLCHoklch(39.04% 0.121 262)
XYZxyz(6.6578, 5.7493, 22.9446)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4185 #85621E
analogous
#1E7585 #1E4185 #2F1E85
triadic
#1E4185 #851E41 #41851E
tetradic
#1E4185 #851E75 #85621E #1E852F
square
#1E4185 #851E75 #85621E #1E852F
split-complementary
#1E4185 #852F1E #75851E
monochromatic
#071021 #132953 #1E4185 #2959B7 #4878D6

Accessibility & contrast

On white

9.77
#1E4185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1E4185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4185
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4185#FFFFFF#000000##FFFFFF
##1E41851.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194987
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e4185;
/* rgb */ color: rgb(30, 65, 133);
/* oklch */ color: oklch(39.0% 0.121 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a75a9',
    500: '#1e4185',
    950: '#000000',
  },
}
SCSS
$custom: #1e4185;
$custom-light: #6a75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4185",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 219.612,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.12141,
    "h": 262
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#1E4185
secondary
#B89147
accent
#AE42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4185

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

Preview Lab → · Contrast checker → · Palette generator →

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