#1E4FA6#1E4FA6

#1E4FA6 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.150 H 260.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#1E4FA6
RGBrgb(30, 79, 166)
HSLhsl(218, 69%, 38%)
HSVhsv(218, 82%, 65%)
CMYKcmyk(81.9%, 52.4%, 0%, 34.9%)
CIE-LABlab(35.24, 16.83, -51.46)
CIE-LCHlch(35.24, 54.14, 288.11°)
OKLaboklab(44.74% -0.0237 -0.1483)
OKLCHoklch(44.74% 0.15 260.9)
XYZxyz(10.2118, 8.6199, 37.1946)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4FA6 #A6751E
analogous
#1E93A6 #1E4FA6 #311EA6
triadic
#1E4FA6 #A61E4F #4FA61E
tetradic
#1E4FA6 #A61E93 #A6751E #1EA631
square
#1E4FA6 #A61E93 #A6751E #1EA631
split-complementary
#1E4FA6 #A6311E #93A61E
monochromatic
#0B1E3E #153672 #1E4FA6 #2968D8 #5D8DE2

Accessibility & contrast

On white

7.71
#1E4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1E4FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4FA6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4FA6#FFFFFF#000000##FFFFFF
##1E4FA61.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1e4fa6;
/* rgb */ color: rgb(30, 79, 166);
/* oklch */ color: oklch(44.7% 0.150 260.9);
Tailwind
colors: {
  custom: {
    50: '#717fc1',
    500: '#1e4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #1e4fa6;
$custom-light: #717fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4fa6",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 218.382,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.15018,
    "h": 260.9
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#1E4FA6
secondary
#C69F5A
accent
#AD3CEC
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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