#1E2A94#1E2A94

#1E2A94 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.171 H 269.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1E2A94
RGBrgb(30, 42, 148)
HSLhsl(234, 66%, 35%)
HSVhsv(234, 80%, 58%)
CMYKcmyk(79.7%, 71.6%, 0%, 42%)
CIE-LABlab(23.90, 34.64, -59.06)
CIE-LCHlch(23.90, 68.47, 300.39°)
OKLaboklab(35.81% -0.0011 -0.171)
OKLCHoklch(35.81% 0.171 269.6)
XYZxyz(6.7068, 4.0693, 28.4432)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A94 #94881E
analogous
#1E6594 #1E2A94 #4D1E94
triadic
#1E2A94 #941E2A #2A941E
tetradic
#1E2A94 #941E65 #94881E #1E944D
square
#1E2A94 #941E65 #94881E #1E944D
split-complementary
#1E2A94 #944D1E #65941E
monochromatic
#090D2E #141C61 #1E2A94 #2838C7 #515FDC

Accessibility & contrast

On white

11.58
#1E2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A94
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A94#FFFFFF#000000##FFFFFF
##1E2A941.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2a94;
/* rgb */ color: rgb(30, 42, 148);
/* oklch */ color: oklch(35.8% 0.171 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f64b5',
    500: '#1e2a94',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a94;
$custom-light: #6f64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a94",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 233.898,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.17103,
    "h": 269.6
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#1E2A94
secondary
#BFB34F
accent
#D83FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1E2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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