#1E2290#1E2290

#1E2290 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.174 H 271.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1E2290
RGBrgb(30, 34, 144)
HSLhsl(238, 66%, 34%)
HSVhsv(238, 79%, 56%)
CMYKcmyk(79.2%, 76.4%, 0%, 43.5%)
CIE-LABlab(21.70, 38.12, -60.21)
CIE-LCHlch(21.70, 71.26, 302.34°)
OKLaboklab(34.11% 0.003 -0.1743)
OKLCHoklch(34.11% 0.174 271)
XYZxyz(6.1398, 3.4330, 26.7192)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2290 #908C1E
analogous
#1E5B90 #1E2290 #531E90
triadic
#1E2290 #901E22 #22901E
tetradic
#1E2290 #901E5B #908C1E #1E9053
square
#1E2290 #901E5B #908C1E #1E9053
split-complementary
#1E2290 #90531E #5B901E
monochromatic
#090A2B #13165D #1E2290 #292EC3 #4E53DA

Accessibility & contrast

On white

12.45
#1E2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2290
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2290#FFFFFF#000000##FFFFFF
##1E22901.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2290;
/* rgb */ color: rgb(30, 34, 144);
/* oklch */ color: oklch(34.1% 0.174 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f5eb2',
    500: '#1e2290',
    950: '#000000',
  },
}
SCSS
$custom: #1e2290;
$custom-light: #6f5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2290",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 237.895,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34112,
    "c": 0.17438,
    "h": 271
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#1E2290
secondary
#BDB94D
accent
#E33FE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E2290

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

Preview Lab → · Contrast checker → · Palette generator →

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