#1E418D#1E418D

#1E418D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.133 H 263.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#1E418D
RGBrgb(30, 65, 141)
HSLhsl(221, 65%, 34%)
HSVhsv(221, 79%, 55%)
CMYKcmyk(78.7%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.36, 16.36, -45.82)
CIE-LCHlch(29.36, 48.65, 289.64°)
OKLaboklab(39.67% -0.016 -0.132)
OKLCHoklch(39.67% 0.133 263.1)
XYZxyz(7.2317, 5.9789, 25.9670)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E418D #8D6A1E
analogous
#1E788D #1E418D #321E8D
triadic
#1E418D #8D1E41 #418D1E
tetradic
#1E418D #8D1E78 #8D6A1E #1E8D32
square
#1E418D #8D1E78 #8D6A1E #1E8D32
split-complementary
#1E418D #8D321E #788D1E
monochromatic
#091228 #132A5B #1E418D #2958BF #4C79D9

Accessibility & contrast

On white

9.56
#1E418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1E418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E418D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E418D#FFFFFF#000000##FFFFFF
##1E418D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4B90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e418d;
/* rgb */ color: rgb(30, 65, 141);
/* oklch */ color: oklch(39.7% 0.133 263.1);
Tailwind
colors: {
  custom: {
    50: '#6c75af',
    500: '#1e418d',
    950: '#000000',
  },
}
SCSS
$custom: #1e418d;
$custom-light: #6c75af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e418d",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 221.081,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39673,
    "c": 0.13294,
    "h": 263.1
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#1E418D
secondary
#BC984B
accent
#B340E8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1E418D

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

Preview Lab → · Contrast checker → · Palette generator →

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