#1E3378#1E3378

#1E3378 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.121 H 267.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#1E3378
RGBrgb(30, 51, 120)
HSLhsl(226, 60%, 29%)
HSVhsv(226, 75%, 47%)
CMYKcmyk(75%, 57.5%, 0%, 52.9%)
CIE-LABlab(23.67, 17.70, -41.91)
CIE-LCHlch(23.67, 45.50, 292.90°)
OKLaboklab(34.85% -0.0062 -0.1207)
OKLCHoklch(34.85% 0.121 267.1)
XYZxyz(5.1082, 3.9992, 18.2684)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3378 #78631E
analogous
#1E6078 #1E3378 #361E78
triadic
#1E3378 #781E33 #33781E
tetradic
#1E3378 #781E60 #78631E #1E7836
square
#1E3378 #781E60 #78631E #1E7836
split-complementary
#1E3378 #78361E #60781E
monochromatic
#060A18 #121E47 #1E3378 #2A48A9 #4162CF

Accessibility & contrast

On white

11.67
#1E3378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E3378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3378
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3378#FFFFFF#000000##FFFFFF
##1E33781.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e3378;
/* rgb */ color: rgb(30, 51, 120);
/* oklch */ color: oklch(34.9% 0.121 267.1);
Tailwind
colors: {
  custom: {
    50: '#676aa0',
    500: '#1e3378',
    950: '#000000',
  },
}
SCSS
$custom: #1e3378;
$custom-light: #676aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3378",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 226,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34852,
    "c": 0.1209,
    "h": 267.1
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#1E3378
secondary
#AC9446
accent
#BE45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1E3378

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

Preview Lab → · Contrast checker → · Palette generator →

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