#1E2490#1E2490

#1E2490 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.172 H 270.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1E2490
RGBrgb(30, 36, 144)
HSLhsl(237, 66%, 34%)
HSVhsv(237, 79%, 56%)
CMYKcmyk(79.2%, 75%, 0%, 43.5%)
CIE-LABlab(22.13, 36.92, -59.51)
CIE-LCHlch(22.13, 70.03, 301.82°)
OKLaboklab(34.42% 0.0021 -0.1723)
OKLCHoklch(34.42% 0.172 270.7)
XYZxyz(6.1986, 3.5507, 26.7388)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2490 #908A1E
analogous
#1E5D90 #1E2490 #511E90
triadic
#1E2490 #901E24 #24901E
tetradic
#1E2490 #901E5D #908A1E #1E9051
square
#1E2490 #901E5D #908A1E #1E9051
split-complementary
#1E2490 #90511E #5D901E
monochromatic
#090B2B #13175D #1E2490 #2931C3 #4E56DA

Accessibility & contrast

On white

12.28
#1E2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2490
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2490#FFFFFF#000000##FFFFFF
##1E24901.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2490;
/* rgb */ color: rgb(30, 36, 144);
/* oklch */ color: oklch(34.4% 0.172 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f60b2',
    500: '#1e2490',
    950: '#000000',
  },
}
SCSS
$custom: #1e2490;
$custom-light: #6f60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2490",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 236.842,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34415,
    "c": 0.17233,
    "h": 270.7
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#1E2490
secondary
#BDB74D
accent
#E03FE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2490

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

Preview Lab → · Contrast checker → · Palette generator →

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