#1E2A8C#1E2A8C

#1E2A8C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.161 H 269.9°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1E2A8C
RGBrgb(30, 42, 140)
HSLhsl(233, 65%, 33%)
HSVhsv(233, 79%, 55%)
CMYKcmyk(78.6%, 70%, 0%, 45.1%)
CIE-LABlab(23.08, 31.67, -55.45)
CIE-LCHlch(23.08, 63.86, 299.74°)
OKLaboklab(34.98% -0.0003 -0.1605)
OKLCHoklch(34.98% 0.161 269.9)
XYZxyz(6.0954, 3.8247, 25.2229)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A8C #8C801E
analogous
#1E618C #1E2A8C #491E8C
triadic
#1E2A8C #8C1E2A #2A8C1E
tetradic
#1E2A8C #8C1E61 #8C801E #1E8C49
square
#1E2A8C #8C1E61 #8C801E #1E8C49
split-complementary
#1E2A8C #8C491E #618C1E
monochromatic
#080C27 #131B5A #1E2A8C #2939BE #4C5BD9

Accessibility & contrast

On white

11.90
#1E2A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E2A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A8C
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A8C#FFFFFF#000000##FFFFFF
##1E2A8C1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2a8c;
/* rgb */ color: rgb(30, 42, 140);
/* oklch */ color: oklch(35.0% 0.161 269.9);
Tailwind
colors: {
  custom: {
    50: '#6d64af',
    500: '#1e2a8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a8c;
$custom-light: #6d64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a8c",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 140
  },
  "hsl": {
    "h": 233.455,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34977,
    "c": 0.1605,
    "h": 269.9
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#1E2A8C
secondary
#BBAF4B
accent
#D540E8
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E2A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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