#1E2A73#1E2A73

#1E2A73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.126 H 270.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1E2A73
RGBrgb(30, 42, 115)
HSLhsl(232, 59%, 28%)
HSVhsv(232, 74%, 45%)
CMYKcmyk(73.9%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.71, 22.07, -43.54)
CIE-LCHlch(20.71, 48.81, 296.88°)
OKLaboklab(32.51% 0.0012 -0.1256)
OKLCHoklch(32.51% 0.126 270.6)
XYZxyz(4.4568, 3.1693, 16.5932)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A73 #73671E
analogous
#1E5473 #1E2A73 #3C1E73
triadic
#1E2A73 #731E2A #2A731E
tetradic
#1E2A73 #731E54 #73671E #1E733C
square
#1E2A73 #731E54 #73671E #1E733C
split-complementary
#1E2A73 #733C1E #54731E
monochromatic
#060918 #111842 #1E2A73 #2B3CA4 #3F53CD

Accessibility & contrast

On white

12.85
#1E2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2A73
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A73#FFFFFF#000000##FFFFFF
##1E2A731.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2a73;
/* rgb */ color: rgb(30, 42, 115);
/* oklch */ color: oklch(32.5% 0.126 270.6);
Tailwind
colors: {
  custom: {
    50: '#67639c',
    500: '#1e2a73',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a73;
$custom-light: #67639c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a73",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 231.529,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3251,
    "c": 0.12564,
    "h": 270.6
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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