#1E2777#1E2777

#1E2777 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.135 H 271.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2777
RGBrgb(30, 39, 119)
HSLhsl(234, 60%, 29%)
HSVhsv(234, 75%, 47%)
CMYKcmyk(74.8%, 67.2%, 0%, 53.3%)
CIE-LABlab(20.28, 25.71, -46.81)
CIE-LCHlch(20.28, 53.40, 298.78°)
OKLaboklab(32.31% 0.0034 -0.1352)
OKLCHoklch(32.31% 0.135 271.4)
XYZxyz(4.5896, 3.0585, 17.7977)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2777 #776E1E
analogous
#1E5477 #1E2777 #421E77
triadic
#1E2777 #771E27 #27771E
tetradic
#1E2777 #771E54 #776E1E #1E7742
square
#1E2777 #771E54 #776E1E #1E7742
split-complementary
#1E2777 #77421E #54771E
monochromatic
#060818 #121746 #1E2777 #2A37A8 #404FCF

Accessibility & contrast

On white

13.03
#1E2777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2777
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2777#FFFFFF#000000##FFFFFF
##1E27771.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2777;
/* rgb */ color: rgb(30, 39, 119);
/* oklch */ color: oklch(32.3% 0.135 271.4);
Tailwind
colors: {
  custom: {
    50: '#68619f',
    500: '#1e2777',
    950: '#000000',
  },
}
SCSS
$custom: #1e2777;
$custom-light: #68619f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2777",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 233.933,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.13529,
    "h": 271.4
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#1E2777
secondary
#ABA146
accent
#D345E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1E2777

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

Preview Lab → · Contrast checker → · Palette generator →

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