#1E2A93#1E2A93

#1E2A93 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.170 H 269.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1E2A93
RGBrgb(30, 42, 147)
HSLhsl(234, 66%, 35%)
HSVhsv(234, 80%, 58%)
CMYKcmyk(79.6%, 71.4%, 0%, 42.4%)
CIE-LABlab(23.80, 34.27, -58.61)
CIE-LCHlch(23.80, 67.89, 300.31°)
OKLaboklab(35.71% -0.001 -0.1697)
OKLCHoklch(35.71% 0.17 269.6)
XYZxyz(6.6280, 4.0378, 28.0282)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A93 #93871E
analogous
#1E6593 #1E2A93 #4C1E93
triadic
#1E2A93 #931E2A #2A931E
tetradic
#1E2A93 #931E65 #93871E #1E934C
square
#1E2A93 #931E65 #93871E #1E934C
split-complementary
#1E2A93 #934C1E #65931E
monochromatic
#090D2D #141B60 #1E2A93 #2839C6 #505EDB

Accessibility & contrast

On white

11.62
#1E2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2A93
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A93#FFFFFF#000000##FFFFFF
##1E2A931.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2a93;
/* rgb */ color: rgb(30, 42, 147);
/* oklch */ color: oklch(35.7% 0.170 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f64b4',
    500: '#1e2a93',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a93;
$custom-light: #6f64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a93",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 233.846,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35708,
    "c": 0.16973,
    "h": 269.6
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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