#1E2A80#1E2A80

#1E2A80 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.144 H 270.3°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1E2A80
RGBrgb(30, 42, 128)
HSLhsl(233, 62%, 31%)
HSVhsv(233, 77%, 50%)
CMYKcmyk(76.6%, 67.2%, 0%, 49.8%)
CIE-LABlab(21.91, 27.12, -49.85)
CIE-LCHlch(21.91, 56.75, 298.55°)
OKLaboklab(33.76% 0.0007 -0.1441)
OKLCHoklch(33.76% 0.144 270.3)
XYZxyz(5.2583, 3.4899, 20.8144)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A80 #80741E
analogous
#1E5B80 #1E2A80 #431E80
triadic
#1E2A80 #801E2A #2A801E
tetradic
#1E2A80 #801E5B #80741E #1E8043
square
#1E2A80 #801E5B #80741E #1E8043
split-complementary
#1E2A80 #80431E #5B801E
monochromatic
#07091D #121A4E #1E2A80 #2A3AB2 #4556D3

Accessibility & contrast

On white

12.37
#1E2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A80
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A80#FFFFFF#000000##FFFFFF
##1E2A801.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2a80;
/* rgb */ color: rgb(30, 42, 128);
/* oklch */ color: oklch(33.8% 0.144 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a63a6',
    500: '#1e2a80',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a80;
$custom-light: #6a63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a80",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 232.653,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33763,
    "c": 0.14415,
    "h": 270.3
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#1E2A80
secondary
#B3A647
accent
#D143E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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