#1E2774#1E2774

#1E2774 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.131 H 271.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1E2774
RGBrgb(30, 39, 116)
HSLhsl(234, 59%, 29%)
HSVhsv(234, 74%, 45%)
CMYKcmyk(74.1%, 66.4%, 0%, 54.5%)
CIE-LABlab(19.99, 24.55, -45.35)
CIE-LCHlch(19.99, 51.57, 298.43°)
OKLaboklab(32.01% 0.0036 -0.131)
OKLCHoklch(32.01% 0.131 271.6)
XYZxyz(4.4123, 2.9876, 16.8637)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2774 #746B1E
analogous
#1E5274 #1E2774 #401E74
triadic
#1E2774 #741E27 #27741E
tetradic
#1E2774 #741E52 #746B1E #1E7440
square
#1E2774 #741E52 #746B1E #1E7440
split-complementary
#1E2774 #74401E #52741E
monochromatic
#060818 #111743 #1E2774 #2B37A5 #3F4ECD

Accessibility & contrast

On white

13.14
#1E2774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E2774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2774
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2774#FFFFFF#000000##FFFFFF
##1E27741.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2774;
/* rgb */ color: rgb(30, 39, 116);
/* oklch */ color: oklch(32.0% 0.131 271.6);
Tailwind
colors: {
  custom: {
    50: '#67619d',
    500: '#1e2774',
    950: '#000000',
  },
}
SCSS
$custom: #1e2774;
$custom-light: #67619d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2774",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 233.721,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32011,
    "c": 0.13102,
    "h": 271.6
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#1E2774
secondary
#A89E46
accent
#D246E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2774

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

Preview Lab → · Contrast checker → · Palette generator →

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