#1E2A78#1E2A78

#1E2A78 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.133 H 270.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#1E2A78
RGBrgb(30, 42, 120)
HSLhsl(232, 60%, 29%)
HSVhsv(232, 75%, 47%)
CMYKcmyk(75%, 65%, 0%, 52.9%)
CIE-LABlab(21.16, 24.03, -46.00)
CIE-LCHlch(21.16, 51.90, 297.58°)
OKLaboklab(32.98% 0.0011 -0.1329)
OKLCHoklch(32.98% 0.133 270.5)
XYZxyz(4.7524, 3.2875, 18.1498)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A78 #786C1E
analogous
#1E5778 #1E2A78 #3F1E78
triadic
#1E2A78 #781E2A #2A781E
tetradic
#1E2A78 #781E57 #786C1E #1E783F
square
#1E2A78 #781E57 #786C1E #1E783F
split-complementary
#1E2A78 #783F1E #57781E
monochromatic
#060918 #121947 #1E2A78 #2A3BA9 #4154CF

Accessibility & contrast

On white

12.67
#1E2A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E2A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A78
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A78#FFFFFF#000000##FFFFFF
##1E2A781.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2a78;
/* rgb */ color: rgb(30, 42, 120);
/* oklch */ color: oklch(33.0% 0.133 270.5);
Tailwind
colors: {
  custom: {
    50: '#6863a0',
    500: '#1e2a78',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a78;
$custom-light: #6863a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a78",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 232,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32983,
    "c": 0.13286,
    "h": 270.5
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#1E2A78
secondary
#AC9E46
accent
#CE45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1E2A78

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

Preview Lab → · Contrast checker → · Palette generator →

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