#1E2A79#1E2A79

#1E2A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.134 H 270.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#1E2A79
RGBrgb(30, 42, 121)
HSLhsl(232, 60%, 30%)
HSVhsv(232, 75%, 47%)
CMYKcmyk(75.2%, 65.3%, 0%, 52.5%)
CIE-LABlab(21.25, 24.42, -46.49)
CIE-LCHlch(21.25, 52.51, 297.71°)
OKLaboklab(33.08% 0.0011 -0.1343)
OKLCHoklch(33.08% 0.134 270.4)
XYZxyz(4.8134, 3.3119, 18.4710)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A79 #796D1E
analogous
#1E5879 #1E2A79 #401E79
triadic
#1E2A79 #791E2A #2A791E
tetradic
#1E2A79 #791E58 #796D1E #1E7940
square
#1E2A79 #791E58 #796D1E #1E7940
split-complementary
#1E2A79 #79401E #58791E
monochromatic
#060919 #121948 #1E2A79 #2A3BAA #4154D0

Accessibility & contrast

On white

12.63
#1E2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2A79
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A79#FFFFFF#000000##FFFFFF
##1E2A791.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2a79;
/* rgb */ color: rgb(30, 42, 121);
/* oklch */ color: oklch(33.1% 0.134 270.4);
Tailwind
colors: {
  custom: {
    50: '#6863a0',
    500: '#1e2a79',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a79;
$custom-light: #6863a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a79",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 232.088,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33079,
    "c": 0.13429,
    "h": 270.4
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#1E2A79
secondary
#AD9F46
accent
#CE44E3
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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