#1E3790#1E3790

#1E3790 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.150 H 266.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#1E3790
RGBrgb(30, 55, 144)
HSLhsl(227, 66%, 34%)
HSVhsv(227, 79%, 56%)
CMYKcmyk(79.2%, 61.8%, 0%, 43.5%)
CIE-LABlab(26.80, 24.46, -51.84)
CIE-LCHlch(26.80, 57.32, 295.26°)
OKLaboklab(37.82% -0.0084 -0.1498)
OKLCHoklch(37.82% 0.15 266.8)
XYZxyz(6.9339, 5.0212, 26.9839)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3790 #90771E
analogous
#1E7090 #1E3790 #3E1E90
triadic
#1E3790 #901E37 #37901E
tetradic
#1E3790 #901E70 #90771E #1E903E
square
#1E3790 #901E70 #90771E #1E903E
split-complementary
#1E3790 #903E1E #70901E
monochromatic
#09102B #13245D #1E3790 #294AC3 #4E6DDA

Accessibility & contrast

On white

10.48
#1E3790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1E3790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3790
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3790#FFFFFF#000000##FFFFFF
##1E37901.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e3790;
/* rgb */ color: rgb(30, 55, 144);
/* oklch */ color: oklch(37.8% 0.150 266.8);
Tailwind
colors: {
  custom: {
    50: '#6d6db1',
    500: '#1e3790',
    950: '#000000',
  },
}
SCSS
$custom: #1e3790;
$custom-light: #6d6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3790",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 226.842,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3782,
    "c": 0.15007,
    "h": 266.8
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#1E3790
secondary
#BDA44D
accent
#C33FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E3790

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

Preview Lab → · Contrast checker → · Palette generator →

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