#1E4290#1E4290

#1E4290 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.136 H 263.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1E4290
RGBrgb(30, 66, 144)
HSLhsl(221, 66%, 34%)
HSVhsv(221, 79%, 56%)
CMYKcmyk(79.2%, 54.2%, 0%, 43.5%)
CIE-LABlab(29.88, 16.87, -46.83)
CIE-LCHlch(29.88, 49.78, 289.81°)
OKLaboklab(40.14% -0.0164 -0.1349)
OKLCHoklch(40.14% 0.136 263.1)
XYZxyz(7.5159, 6.1852, 27.1779)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4290 #906C1E
analogous
#1E7B90 #1E4290 #331E90
triadic
#1E4290 #901E42 #42901E
tetradic
#1E4290 #901E7B #906C1E #1E9033
square
#1E4290 #901E7B #906C1E #1E9033
split-complementary
#1E4290 #90331E #7B901E
monochromatic
#09142B #132B5D #1E4290 #2959C3 #4E7ADA

Accessibility & contrast

On white

9.39
#1E4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1E4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4290
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4290#FFFFFF#000000##FFFFFF
##1E42901.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074C93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e4290;
/* rgb */ color: rgb(30, 66, 144);
/* oklch */ color: oklch(40.1% 0.136 263.1);
Tailwind
colors: {
  custom: {
    50: '#6c75b1',
    500: '#1e4290',
    950: '#000000',
  },
}
SCSS
$custom: #1e4290;
$custom-light: #6c75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4290",
  "rgb": {
    "r": 30,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 221.053,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.13593,
    "h": 263.1
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#1E4290
secondary
#BD9A4D
accent
#B33FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4290

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

Preview Lab → · Contrast checker → · Palette generator →

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