#1E2671#1E2671

#1E2671 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.128 H 272.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1E2671
RGBrgb(30, 38, 113)
HSLhsl(234, 58%, 28%)
HSVhsv(234, 73%, 44%)
CMYKcmyk(73.5%, 66.4%, 0%, 55.7%)
CIE-LABlab(19.45, 24.08, -44.31)
CIE-LCHlch(19.45, 50.43, 298.53°)
OKLaboklab(31.53% 0.0045 -0.1279)
OKLCHoklch(31.53% 0.128 272)
XYZxyz(4.2082, 2.8541, 15.9487)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2671 #71691E
analogous
#1E4F71 #1E2671 #3F1E71
triadic
#1E2671 #711E26 #26711E
tetradic
#1E2671 #711E4F #71691E #1E713F
square
#1E2671 #711E4F #71691E #1E713F
split-complementary
#1E2671 #713F1E #4F711E
monochromatic
#060818 #111641 #1E2671 #2B36A1 #3E4BCC

Accessibility & contrast

On white

13.37
#1E2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2671
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2671#FFFFFF#000000##FFFFFF
##1E26711.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2671;
/* rgb */ color: rgb(30, 38, 113);
/* oklch */ color: oklch(31.5% 0.128 272.0);
Tailwind
colors: {
  custom: {
    50: '#67609b',
    500: '#1e2671',
    950: '#000000',
  },
}
SCSS
$custom: #1e2671;
$custom-light: #67609b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2671",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 234.217,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31525,
    "c": 0.12801,
    "h": 272
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#1E2671
secondary
#A59C46
accent
#D247E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2671

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

Preview Lab → · Contrast checker → · Palette generator →

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