#1E4090#1E4090

#1E4090 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.139 H 263.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#1E4090
RGBrgb(30, 64, 144)
HSLhsl(222, 66%, 34%)
HSVhsv(222, 79%, 56%)
CMYKcmyk(79.2%, 55.6%, 0%, 43.5%)
CIE-LABlab(29.30, 18.25, -47.76)
CIE-LCHlch(29.30, 51.13, 290.91°)
OKLaboklab(39.7% -0.0149 -0.1377)
OKLCHoklch(39.7% 0.139 263.8)
XYZxyz(7.4011, 5.9556, 27.1396)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4090 #906E1E
analogous
#1E7990 #1E4090 #351E90
triadic
#1E4090 #901E40 #40901E
tetradic
#1E4090 #901E79 #906E1E #1E9035
square
#1E4090 #901E79 #906E1E #1E9035
split-complementary
#1E4090 #90351E #79901E
monochromatic
#09132B #13295D #1E4090 #2957C3 #4E78DA

Accessibility & contrast

On white

9.58
#1E4090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1E4090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4090
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4090#FFFFFF#000000##FFFFFF
##1E40901.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1e4090;
/* rgb */ color: rgb(30, 64, 144);
/* oklch */ color: oklch(39.7% 0.139 263.8);
Tailwind
colors: {
  custom: {
    50: '#6d74b1',
    500: '#1e4090',
    950: '#000000',
  },
}
SCSS
$custom: #1e4090;
$custom-light: #6d74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4090",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 222.105,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.397,
    "c": 0.13851,
    "h": 263.8
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#1E4090
secondary
#BD9B4D
accent
#B63FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4090

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

Preview Lab → · Contrast checker → · Palette generator →

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