#1E2A76#1E2A76

#1E2A76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.130 H 270.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#1E2A76
RGBrgb(30, 42, 118)
HSLhsl(232, 59%, 29%)
HSVhsv(232, 75%, 46%)
CMYKcmyk(74.6%, 64.4%, 0%, 53.7%)
CIE-LABlab(20.98, 23.25, -45.02)
CIE-LCHlch(20.98, 50.67, 297.31°)
OKLaboklab(32.79% 0.0012 -0.13)
OKLCHoklch(32.79% 0.13 270.5)
XYZxyz(4.6323, 3.2395, 17.5172)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A76 #766A1E
analogous
#1E5676 #1E2A76 #3E1E76
triadic
#1E2A76 #761E2A #2A761E
tetradic
#1E2A76 #761E56 #766A1E #1E763E
square
#1E2A76 #761E56 #766A1E #1E763E
split-complementary
#1E2A76 #763E1E #56761E
monochromatic
#060918 #121945 #1E2A76 #2A3BA7 #4053CE

Accessibility & contrast

On white

12.74
#1E2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A76
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A76#FFFFFF#000000##FFFFFF
##1E2A761.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2a76;
/* rgb */ color: rgb(30, 42, 118);
/* oklch */ color: oklch(32.8% 0.130 270.5);
Tailwind
colors: {
  custom: {
    50: '#68639e',
    500: '#1e2a76',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a76;
$custom-light: #68639e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a76",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 231.818,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.12999,
    "h": 270.5
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#1E2A76
secondary
#AA9C46
accent
#CD45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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