#1E4CA6#1E4CA6

#1E4CA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.154 H 261.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1E4CA6
RGBrgb(30, 76, 166)
HSLhsl(220, 69%, 38%)
HSVhsv(220, 82%, 65%)
CMYKcmyk(81.9%, 54.2%, 0%, 34.9%)
CIE-LABlab(34.39, 18.85, -52.84)
CIE-LCHlch(34.39, 56.10, 289.63°)
OKLaboklab(44.09% -0.0216 -0.1524)
OKLCHoklch(44.09% 0.154 261.9)
XYZxyz(10.0003, 8.1969, 37.1241)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4CA6 #A6781E
analogous
#1E90A6 #1E4CA6 #341EA6
triadic
#1E4CA6 #A61E4C #4CA61E
tetradic
#1E4CA6 #A61E90 #A6781E #1EA634
square
#1E4CA6 #A61E90 #A6781E #1EA634
split-complementary
#1E4CA6 #A6341E #90A61E
monochromatic
#0B1D3E #153472 #1E4CA6 #2964D8 #5D8AE2

Accessibility & contrast

On white

7.96
#1E4CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1E4CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4CA6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4CA6#FFFFFF#000000##FFFFFF
##1E4CA61.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1e4ca6;
/* rgb */ color: rgb(30, 76, 166);
/* oklch */ color: oklch(44.1% 0.154 261.9);
Tailwind
colors: {
  custom: {
    50: '#717dc1',
    500: '#1e4ca6',
    950: '#000000',
  },
}
SCSS
$custom: #1e4ca6;
$custom-light: #717dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4ca6",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 219.706,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44089,
    "c": 0.15394,
    "h": 261.9
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#1E4CA6
secondary
#C6A15A
accent
#B03CEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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