#1E4790#1E4790

#1E4790 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.130 H 260.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#1E4790
RGBrgb(30, 71, 144)
HSLhsl(218, 66%, 34%)
HSVhsv(218, 79%, 56%)
CMYKcmyk(79.2%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.34, 13.44, -44.47)
CIE-LCHlch(31.34, 46.46, 286.82°)
OKLaboklab(41.25% -0.0205 -0.1279)
OKLCHoklch(41.25% 0.13 260.9)
XYZxyz(7.8209, 6.7952, 27.2796)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4790 #90671E
analogous
#1E8090 #1E4790 #2E1E90
triadic
#1E4790 #901E47 #47901E
tetradic
#1E4790 #901E80 #90671E #1E902E
square
#1E4790 #901E80 #90671E #1E902E
split-complementary
#1E4790 #902E1E #80901E
monochromatic
#09152B #132E5D #1E4790 #2960C3 #4E81DA

Accessibility & contrast

On white

8.90
#1E4790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1E4790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4790
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4790#FFFFFF#000000##FFFFFF
##1E47901.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4790;
/* rgb */ color: rgb(30, 71, 144);
/* oklch */ color: oklch(41.3% 0.130 260.9);
Tailwind
colors: {
  custom: {
    50: '#6c79b1',
    500: '#1e4790',
    950: '#000000',
  },
}
SCSS
$custom: #1e4790;
$custom-light: #6c79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4790",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 218.421,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.12951,
    "h": 260.9
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#1E4790
secondary
#BD954D
accent
#AC3FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1E4790

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

Preview Lab → · Contrast checker → · Palette generator →

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