#1E2A8E#1E2A8E

#1E2A8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.163 H 269.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1E2A8E
RGBrgb(30, 42, 142)
HSLhsl(234, 65%, 34%)
HSVhsv(234, 79%, 56%)
CMYKcmyk(78.9%, 70.4%, 0%, 44.3%)
CIE-LABlab(23.28, 32.42, -56.36)
CIE-LCHlch(23.28, 65.02, 299.91°)
OKLaboklab(35.19% -0.0005 -0.1632)
OKLCHoklch(35.19% 0.163 269.8)
XYZxyz(6.2442, 3.8842, 26.0066)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A8E #8E821E
analogous
#1E628E #1E2A8E #4A1E8E
triadic
#1E2A8E #8E1E2A #2A8E1E
tetradic
#1E2A8E #8E1E62 #8E821E #1E8E4A
square
#1E2A8E #8E1E62 #8E821E #1E8E4A
split-complementary
#1E2A8E #8E4A1E #628E1E
monochromatic
#090C29 #131B5B #1E2A8E #2939C1 #4D5CD9

Accessibility & contrast

On white

11.82
#1E2A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E2A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A8E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A8E#FFFFFF#000000##FFFFFF
##1E2A8E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2a8e;
/* rgb */ color: rgb(30, 42, 142);
/* oklch */ color: oklch(35.2% 0.163 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e64b0',
    500: '#1e2a8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a8e;
$custom-light: #6e64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a8e",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 233.571,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.16316,
    "h": 269.8
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#1E2A8E
secondary
#BCB04C
accent
#D640E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1E2A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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