#1E418C#1E418C

#1E418C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.132 H 263.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#1E418C
RGBrgb(30, 65, 140)
HSLhsl(221, 65%, 33%)
HSVhsv(221, 79%, 55%)
CMYKcmyk(78.6%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.28, 15.96, -45.33)
CIE-LCHlch(29.28, 48.05, 289.39°)
OKLaboklab(39.59% -0.0161 -0.1305)
OKLCHoklch(39.59% 0.132 263)
XYZxyz(7.1576, 5.9492, 25.5769)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E418C #8C691E
analogous
#1E788C #1E418C #321E8C
triadic
#1E418C #8C1E41 #418C1E
tetradic
#1E418C #8C1E78 #8C691E #1E8C32
square
#1E418C #8C1E78 #8C691E #1E8C32
split-complementary
#1E418C #8C321E #788C1E
monochromatic
#081227 #132A5A #1E418C #2958BE #4C79D9

Accessibility & contrast

On white

9.59
#1E418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1E418C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E418C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E418C#FFFFFF#000000##FFFFFF
##1E418C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e418c;
/* rgb */ color: rgb(30, 65, 140);
/* oklch */ color: oklch(39.6% 0.132 263.0);
Tailwind
colors: {
  custom: {
    50: '#6b75ae',
    500: '#1e418c',
    950: '#000000',
  },
}
SCSS
$custom: #1e418c;
$custom-light: #6b75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e418c",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 220.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.13151,
    "h": 263
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#1E418C
secondary
#BB974B
accent
#B240E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E418C

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

Preview Lab → · Contrast checker → · Palette generator →

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