#1E2A72#1E2A72

#1E2A72 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.124 H 270.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1E2A72
RGBrgb(30, 42, 114)
HSLhsl(231, 58%, 28%)
HSVhsv(231, 74%, 45%)
CMYKcmyk(73.7%, 63.2%, 0%, 55.3%)
CIE-LABlab(20.62, 21.68, -43.04)
CIE-LCHlch(20.62, 48.19, 296.73°)
OKLaboklab(32.42% 0.0012 -0.1242)
OKLCHoklch(32.42% 0.124 270.6)
XYZxyz(4.3996, 3.1464, 16.2918)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A72 #72661E
analogous
#1E5472 #1E2A72 #3C1E72
triadic
#1E2A72 #721E2A #2A721E
tetradic
#1E2A72 #721E54 #72661E #1E723C
square
#1E2A72 #721E54 #72661E #1E723C
split-complementary
#1E2A72 #723C1E #54721E
monochromatic
#060918 #111842 #1E2A72 #2B3CA2 #3E52CC

Accessibility & contrast

On white

12.89
#1E2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A72
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A72#FFFFFF#000000##FFFFFF
##1E2A721.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2a72;
/* rgb */ color: rgb(30, 42, 114);
/* oklch */ color: oklch(32.4% 0.124 270.6);
Tailwind
colors: {
  custom: {
    50: '#67639b',
    500: '#1e2a72',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a72;
$custom-light: #67639b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a72",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 231.429,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32417,
    "c": 0.12418,
    "h": 270.6
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#1E2A72
secondary
#A69846
accent
#CB46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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