#1E418A#1E418A

#1E418A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.129 H 262.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1E418A
RGBrgb(30, 65, 138)
HSLhsl(221, 64%, 33%)
HSVhsv(221, 78%, 54%)
CMYKcmyk(78.3%, 52.9%, 0%, 45.9%)
CIE-LABlab(29.14, 15.15, -44.33)
CIE-LCHlch(29.14, 46.85, 288.87°)
OKLaboklab(39.43% -0.0163 -0.1276)
OKLCHoklch(39.43% 0.129 262.7)
XYZxyz(7.0115, 5.8908, 24.8073)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E418A #8A671E
analogous
#1E778A #1E418A #311E8A
triadic
#1E418A #8A1E41 #418A1E
tetradic
#1E418A #8A1E77 #8A671E #1E8A31
square
#1E418A #8A1E77 #8A671E #1E8A31
split-complementary
#1E418A #8A311E #778A1E
monochromatic
#081225 #132958 #1E418A #2959BC #4B78D8

Accessibility & contrast

On white

9.64
#1E418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1E418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E418A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E418A#FFFFFF#000000##FFFFFF
##1E418A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114A8D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e418a;
/* rgb */ color: rgb(30, 65, 138);
/* oklch */ color: oklch(39.4% 0.129 262.7);
Tailwind
colors: {
  custom: {
    50: '#6b75ad',
    500: '#1e418a',
    950: '#000000',
  },
}
SCSS
$custom: #1e418a;
$custom-light: #6b75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e418a",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 220.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.12864,
    "h": 262.7
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#1E418A
secondary
#BA964A
accent
#B141E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E418A

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

Preview Lab → · Contrast checker → · Palette generator →

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