#1E41A7#1E41A7

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

Color values

HEX#1E41A7
RGBrgb(30, 65, 167)
HSLhsl(225, 70%, 39%)
HSVhsv(225, 82%, 65%)
CMYKcmyk(82%, 61.1%, 0%, 34.5%)
CIE-LABlab(31.45, 26.67, -58.22)
CIE-LCHlch(31.45, 64.04, 294.61°)
OKLaboklab(41.9% -0.0144 -0.1684)
OKLCHoklch(41.9% 0.169 265.1)
XYZxyz(9.3983, 6.8455, 37.3777)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E41A7 #A7841E
analogous
#1E85A7 #1E41A7 #401EA7
triadic
#1E41A7 #A71E41 #41A71E
tetradic
#1E41A7 #A71E85 #A7841E #1EA740
square
#1E41A7 #A71E85 #A7841E #1EA740
split-complementary
#1E41A7 #A7401E #85A71E
monochromatic
#0B193F #152D73 #1E41A7 #2A56D9 #5D7FE2

Accessibility & contrast

On white

8.86
#1E41A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1E41A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E41A7
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E41A7#FFFFFF#000000##FFFFFF
##1E41A71.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e41a7;
/* rgb */ color: rgb(30, 65, 167);
/* oklch */ color: oklch(41.9% 0.169 265.1);
Tailwind
colors: {
  custom: {
    50: '#7275c2',
    500: '#1e41a7',
    950: '#000000',
  },
}
SCSS
$custom: #1e41a7;
$custom-light: #7275c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e41a7",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 224.672,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.16902,
    "h": 265.1
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#1E41A7
secondary
#C6AB5B
accent
#BF3BEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1E41A7

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

Preview Lab → · Contrast checker → · Palette generator →

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