#1E41A6#1E41A6

#1E41A6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.168 H 265.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#1E41A6
RGBrgb(30, 65, 166)
HSLhsl(225, 69%, 38%)
HSVhsv(225, 82%, 65%)
CMYKcmyk(81.9%, 60.8%, 0%, 34.9%)
CIE-LABlab(31.37, 26.28, -57.76)
CIE-LCHlch(31.37, 63.46, 294.47°)
OKLaboklab(41.81% -0.0144 -0.1671)
OKLCHoklch(41.81% 0.168 265.1)
XYZxyz(9.3062, 6.8087, 36.8927)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E41A6 #A6831E
analogous
#1E85A6 #1E41A6 #3F1EA6
triadic
#1E41A6 #A61E41 #41A61E
tetradic
#1E41A6 #A61E85 #A6831E #1EA63F
square
#1E41A6 #A61E85 #A6831E #1EA63F
split-complementary
#1E41A6 #A63F1E #85A61E
monochromatic
#0B183E #152D72 #1E41A6 #2956D8 #5D7FE2

Accessibility & contrast

On white

8.89
#1E41A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1E41A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E41A6
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E41A6#FFFFFF#000000##FFFFFF
##1E41A61.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e41a6;
/* rgb */ color: rgb(30, 65, 166);
/* oklch */ color: oklch(41.8% 0.168 265.1);
Tailwind
colors: {
  custom: {
    50: '#7275c1',
    500: '#1e41a6',
    950: '#000000',
  },
}
SCSS
$custom: #1e41a6;
$custom-light: #7275c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e41a6",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 224.559,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.16768,
    "h": 265.1
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#1E41A6
secondary
#C6AA5A
accent
#BF3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E41A6

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

Preview Lab → · Contrast checker → · Palette generator →

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