#1E418B#1E418B

#1E418B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.130 H 262.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#1E418B
RGBrgb(30, 65, 139)
HSLhsl(221, 64%, 33%)
HSVhsv(221, 78%, 55%)
CMYKcmyk(78.4%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.21, 15.55, -44.83)
CIE-LCHlch(29.21, 47.45, 289.13°)
OKLaboklab(39.51% -0.0162 -0.1291)
OKLCHoklch(39.51% 0.13 262.8)
XYZxyz(7.0843, 5.9199, 25.1904)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E418B #8B681E
analogous
#1E778B #1E418B #311E8B
triadic
#1E418B #8B1E41 #418B1E
tetradic
#1E418B #8B1E77 #8B681E #1E8B31
square
#1E418B #8B1E77 #8B681E #1E8B31
split-complementary
#1E418B #8B311E #778B1E
monochromatic
#081226 #132959 #1E418B #2959BD #4B78D8

Accessibility & contrast

On white

9.61
#1E418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E418B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E418B#FFFFFF#000000##FFFFFF
##1E418B1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e418b;
/* rgb */ color: rgb(30, 65, 139);
/* oklch */ color: oklch(39.5% 0.130 262.8);
Tailwind
colors: {
  custom: {
    50: '#6b75ad',
    500: '#1e418b',
    950: '#000000',
  },
}
SCSS
$custom: #1e418b;
$custom-light: #6b75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e418b",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 220.734,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39511,
    "c": 0.13007,
    "h": 262.8
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#1E418B
secondary
#BB974A
accent
#B240E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E418B

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

Preview Lab → · Contrast checker → · Palette generator →

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