#1E418E#1E418E

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

Color values

HEX#1E418E
RGBrgb(30, 65, 142)
HSLhsl(221, 65%, 34%)
HSVhsv(221, 79%, 56%)
CMYKcmyk(78.9%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.43, 16.76, -46.32)
CIE-LCHlch(29.43, 49.25, 289.89°)
OKLaboklab(39.75% -0.0159 -0.1334)
OKLCHoklch(39.75% 0.134 263.2)
XYZxyz(7.3065, 6.0088, 26.3607)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E418E #8E6B1E
analogous
#1E798E #1E418E #331E8E
triadic
#1E418E #8E1E41 #418E1E
tetradic
#1E418E #8E1E79 #8E6B1E #1E8E33
square
#1E418E #8E1E79 #8E6B1E #1E8E33
split-complementary
#1E418E #8E331E #798E1E
monochromatic
#091329 #132A5B #1E418E #2958C1 #4D79D9

Accessibility & contrast

On white

9.54
#1E418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E418E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E418E#FFFFFF#000000##FFFFFF
##1E418E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e418e;
/* rgb */ color: rgb(30, 65, 142);
/* oklch */ color: oklch(39.8% 0.134 263.2);
Tailwind
colors: {
  custom: {
    50: '#6c75b0',
    500: '#1e418e',
    950: '#000000',
  },
}
SCSS
$custom: #1e418e;
$custom-light: #6c75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e418e",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 221.25,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.13437,
    "h": 263.2
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#1E418E
secondary
#BC994C
accent
#B340E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1E418E

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

Preview Lab → · Contrast checker → · Palette generator →

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