#1E2977#1E2977

#1E2977 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.133 H 270.8°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1E2977
RGBrgb(30, 41, 119)
HSLhsl(233, 60%, 29%)
HSVhsv(233, 75%, 47%)
CMYKcmyk(74.8%, 65.5%, 0%, 53.3%)
CIE-LABlab(20.80, 24.33, -45.95)
CIE-LCHlch(20.80, 51.99, 297.90°)
OKLaboklab(32.69% 0.0019 -0.1327)
OKLCHoklch(32.69% 0.133 270.8)
XYZxyz(4.6570, 3.1933, 17.8201)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2977 #776C1E
analogous
#1E5677 #1E2977 #401E77
triadic
#1E2977 #771E29 #29771E
tetradic
#1E2977 #771E56 #776C1E #1E7740
square
#1E2977 #771E56 #776C1E #1E7740
split-complementary
#1E2977 #77401E #56771E
monochromatic
#060818 #121846 #1E2977 #2A3AA8 #4052CF

Accessibility & contrast

On white

12.81
#1E2977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2977
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2977#FFFFFF#000000##FFFFFF
##1E29771.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2977;
/* rgb */ color: rgb(30, 41, 119);
/* oklch */ color: oklch(32.7% 0.133 270.8);
Tailwind
colors: {
  custom: {
    50: '#68629f',
    500: '#1e2977',
    950: '#000000',
  },
}
SCSS
$custom: #1e2977;
$custom-light: #68629f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2977",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 232.584,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.13272,
    "h": 270.8
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#1E2977
secondary
#AB9E46
accent
#CF45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1E2977

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

Preview Lab → · Contrast checker → · Palette generator →

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