#1E418F#1E418F

#1E418F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.136 H 263.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#1E418F
RGBrgb(30, 65, 143)
HSLhsl(221, 65%, 34%)
HSVhsv(221, 79%, 56%)
CMYKcmyk(79%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.51, 17.16, -46.81)
CIE-LCHlch(29.51, 49.85, 290.14°)
OKLaboklab(39.84% -0.0157 -0.1349)
OKLCHoklch(39.84% 0.136 263.3)
XYZxyz(7.3819, 6.0389, 26.7579)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E418F #8F6C1E
analogous
#1E7A8F #1E418F #341E8F
triadic
#1E418F #8F1E41 #418F1E
tetradic
#1E418F #8F1E7A #8F6C1E #1E8F34
square
#1E418F #8F1E7A #8F6C1E #1E8F34
split-complementary
#1E418F #8F341E #7A8F1E
monochromatic
#09132A #132A5C #1E418F #2958C2 #4E79DA

Accessibility & contrast

On white

9.51
#1E418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1E418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E418F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E418F#FFFFFF#000000##FFFFFF
##1E418F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e418f;
/* rgb */ color: rgb(30, 65, 143);
/* oklch */ color: oklch(39.8% 0.136 263.3);
Tailwind
colors: {
  custom: {
    50: '#6c75b0',
    500: '#1e418f',
    950: '#000000',
  },
}
SCSS
$custom: #1e418f;
$custom-light: #6c75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e418f",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 221.416,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.1358,
    "h": 263.3
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#1E418F
secondary
#BC9A4C
accent
#B440E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E418F

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

Preview Lab → · Contrast checker → · Palette generator →

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