#1E2A74#1E2A74

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

Color values

HEX#1E2A74
RGBrgb(30, 42, 116)
HSLhsl(232, 59%, 29%)
HSVhsv(232, 74%, 45%)
CMYKcmyk(74.1%, 63.8%, 0%, 54.5%)
CIE-LABlab(20.80, 22.46, -44.03)
CIE-LCHlch(20.80, 49.43, 297.03°)
OKLaboklab(32.6% 0.0012 -0.1271)
OKLCHoklch(32.6% 0.127 270.5)
XYZxyz(4.5147, 3.1924, 16.8979)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A74 #74681E
analogous
#1E5574 #1E2A74 #3D1E74
triadic
#1E2A74 #741E2A #2A741E
tetradic
#1E2A74 #741E55 #74681E #1E743D
square
#1E2A74 #741E55 #74681E #1E743D
split-complementary
#1E2A74 #743D1E #55741E
monochromatic
#060918 #111843 #1E2A74 #2B3CA5 #3F53CD

Accessibility & contrast

On white

12.82
#1E2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A74
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A74#FFFFFF#000000##FFFFFF
##1E2A741.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2a74;
/* rgb */ color: rgb(30, 42, 116);
/* oklch */ color: oklch(32.6% 0.127 270.5);
Tailwind
colors: {
  custom: {
    50: '#67639d',
    500: '#1e2a74',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a74;
$custom-light: #67639d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a74",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 231.628,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32604,
    "c": 0.1271,
    "h": 270.5
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#1E2A74
secondary
#A89A46
accent
#CC46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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