#1E277D#1E277D

#1E277D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.144 H 271.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#1E277D
RGBrgb(30, 39, 125)
HSLhsl(234, 61%, 30%)
HSVhsv(234, 76%, 49%)
CMYKcmyk(76%, 68.8%, 0%, 51%)
CIE-LABlab(20.86, 28.00, -49.68)
CIE-LCHlch(20.86, 57.03, 299.41°)
OKLaboklab(32.91% 0.0029 -0.1437)
OKLCHoklch(32.91% 0.144 271.2)
XYZxyz(4.9614, 3.2072, 19.7556)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E277D #7D741E
analogous
#1E567D #1E277D #451E7D
triadic
#1E277D #7D1E27 #277D1E
tetradic
#1E277D #7D1E56 #7D741E #1E7D45
square
#1E277D #7D1E56 #7D741E #1E7D45
split-complementary
#1E277D #7D451E #567D1E
monochromatic
#06081A #12184C #1E277D #2A36AE #4351D2

Accessibility & contrast

On white

12.79
#1E277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E277D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E277D#FFFFFF#000000##FFFFFF
##1E277D1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e277d;
/* rgb */ color: rgb(30, 39, 125);
/* oklch */ color: oklch(32.9% 0.144 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a61a4',
    500: '#1e277d',
    950: '#000000',
  },
}
SCSS
$custom: #1e277d;
$custom-light: #6a61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e277d",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 234.316,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32905,
    "c": 0.14369,
    "h": 271.2
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#1E277D
secondary
#B0A646
accent
#D543E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E277D

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

Preview Lab → · Contrast checker → · Palette generator →

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