#1E2779#1E2779

#1E2779 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.138 H 271.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1E2779
RGBrgb(30, 39, 121)
HSLhsl(234, 60%, 30%)
HSVhsv(234, 75%, 47%)
CMYKcmyk(75.2%, 67.8%, 0%, 52.5%)
CIE-LABlab(20.47, 26.48, -47.77)
CIE-LCHlch(20.47, 54.62, 299.00°)
OKLaboklab(32.5% 0.0032 -0.1381)
OKLCHoklch(32.5% 0.138 271.3)
XYZxyz(4.7110, 3.1071, 18.4369)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2779 #79701E
analogous
#1E5579 #1E2779 #431E79
triadic
#1E2779 #791E27 #27791E
tetradic
#1E2779 #791E55 #79701E #1E7943
square
#1E2779 #791E55 #79701E #1E7943
split-complementary
#1E2779 #79431E #55791E
monochromatic
#060819 #121748 #1E2779 #2A37AA #4150D0

Accessibility & contrast

On white

12.95
#1E2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2779
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2779#FFFFFF#000000##FFFFFF
##1E27791.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2779;
/* rgb */ color: rgb(30, 39, 121);
/* oklch */ color: oklch(32.5% 0.138 271.3);
Tailwind
colors: {
  custom: {
    50: '#6961a1',
    500: '#1e2779',
    950: '#000000',
  },
}
SCSS
$custom: #1e2779;
$custom-light: #6961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2779",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 234.066,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32503,
    "c": 0.13812,
    "h": 271.3
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#1E2779
secondary
#ADA246
accent
#D444E3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2779

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

Preview Lab → · Contrast checker → · Palette generator →

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