#1E2494#1E2494

#1E2494 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.177 H 270.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1E2494
RGBrgb(30, 36, 148)
HSLhsl(237, 66%, 35%)
HSVhsv(237, 80%, 58%)
CMYKcmyk(79.7%, 75.7%, 0%, 42%)
CIE-LABlab(22.57, 38.33, -61.26)
CIE-LCHlch(22.57, 72.26, 302.04°)
OKLaboklab(34.86% 0.0015 -0.1774)
OKLCHoklch(34.86% 0.177 270.5)
XYZxyz(6.5098, 3.6752, 28.3775)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2494 #948E1E
analogous
#1E5F94 #1E2494 #531E94
triadic
#1E2494 #941E24 #24941E
tetradic
#1E2494 #941E5F #948E1E #1E9453
square
#1E2494 #941E5F #948E1E #1E9453
split-complementary
#1E2494 #94531E #5F941E
monochromatic
#090B2E #141861 #1E2494 #2830C7 #5158DC

Accessibility & contrast

On white

12.10
#1E2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2494
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2494#FFFFFF#000000##FFFFFF
##1E24941.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2494;
/* rgb */ color: rgb(30, 36, 148);
/* oklch */ color: oklch(34.9% 0.177 270.5);
Tailwind
colors: {
  custom: {
    50: '#7060b5',
    500: '#1e2494',
    950: '#000000',
  },
}
SCSS
$custom: #1e2494;
$custom-light: #7060b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2494",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 236.949,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34859,
    "c": 0.17742,
    "h": 270.5
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#1E2494
secondary
#BFB94F
accent
#E13FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2494

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

Preview Lab → · Contrast checker → · Palette generator →

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