#1E4D9E#1E4D9E

#1E4D9E is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.142 H 260.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#1E4D9E
RGBrgb(30, 77, 158)
HSLhsl(218, 68%, 37%)
HSVhsv(218, 81%, 62%)
CMYKcmyk(81%, 51.3%, 0%, 38%)
CIE-LABlab(34.09, 14.98, -48.52)
CIE-LCHlch(34.09, 50.78, 287.16°)
OKLaboklab(43.67% -0.0233 -0.1397)
OKLCHoklch(43.67% 0.142 260.5)
XYZxyz(9.3586, 8.0513, 33.4019)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D9E #9E6F1E
analogous
#1E8D9E #1E4D9E #2F1E9E
triadic
#1E4D9E #9E1E4D #4D9E1E
tetradic
#1E4D9E #9E1E8D #9E6F1E #1E9E2F
square
#1E4D9E #9E1E8D #9E6F1E #1E9E2F
split-complementary
#1E4D9E #9E2F1E #8D9E1E
monochromatic
#0A1B37 #14346B #1E4D9E #2866D1 #5789DF

Accessibility & contrast

On white

8.04
#1E4D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1E4D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D9E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D9E#FFFFFF#000000##FFFFFF
##1E4D9E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1e4d9e;
/* rgb */ color: rgb(30, 77, 158);
/* oklch */ color: oklch(43.7% 0.142 260.5);
Tailwind
colors: {
  custom: {
    50: '#6f7ebb',
    500: '#1e4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d9e;
$custom-light: #6f7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d9e",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 217.969,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43674,
    "c": 0.14162,
    "h": 260.5
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#1E4D9E
secondary
#C39A55
accent
#AB3DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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