#1E4FA7#1E4FA7

#1E4FA7 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.152 H 261.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#1E4FA7
RGBrgb(30, 79, 167)
HSLhsl(219, 70%, 39%)
HSVhsv(219, 82%, 65%)
CMYKcmyk(82%, 52.7%, 0%, 34.5%)
CIE-LABlab(35.31, 17.22, -51.94)
CIE-LCHlch(35.31, 54.72, 288.35°)
OKLaboklab(44.82% -0.0236 -0.1497)
OKLCHoklch(44.82% 0.152 261)
XYZxyz(10.3039, 8.6568, 37.6796)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4FA7 #A7761E
analogous
#1E93A7 #1E4FA7 #311EA7
triadic
#1E4FA7 #A71E4F #4FA71E
tetradic
#1E4FA7 #A71E93 #A7761E #1EA731
square
#1E4FA7 #A71E93 #A7761E #1EA731
split-complementary
#1E4FA7 #A7311E #93A71E
monochromatic
#0B1E3F #153673 #1E4FA7 #2A68D9 #5D8DE2

Accessibility & contrast

On white

7.69
#1E4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1E4FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4FA7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4FA7#FFFFFF#000000##FFFFFF
##1E4FA71.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105AAA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1e4fa7;
/* rgb */ color: rgb(30, 79, 167);
/* oklch */ color: oklch(44.8% 0.152 261.0);
Tailwind
colors: {
  custom: {
    50: '#717fc2',
    500: '#1e4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #1e4fa7;
$custom-light: #717fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4fa7",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 218.54,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.15155,
    "h": 261
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#1E4FA7
secondary
#C6A05B
accent
#AD3BEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1E4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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