#1E3374#1E3374

#1E3374 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.115 H 266.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#1E3374
RGBrgb(30, 51, 116)
HSLhsl(225, 59%, 29%)
HSVhsv(225, 74%, 45%)
CMYKcmyk(74.1%, 56%, 0%, 54.5%)
CIE-LABlab(23.35, 16.10, -39.88)
CIE-LCHlch(23.35, 43.01, 291.98°)
OKLaboklab(34.51% -0.0065 -0.1148)
OKLCHoklch(34.51% 0.115 266.7)
XYZxyz(4.8705, 3.9041, 17.0165)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3374 #745F1E
analogous
#1E5E74 #1E3374 #341E74
triadic
#1E3374 #741E33 #33741E
tetradic
#1E3374 #741E5E #745F1E #1E7434
square
#1E3374 #741E5E #745F1E #1E7434
split-complementary
#1E3374 #74341E #5E741E
monochromatic
#060B18 #111E43 #1E3374 #2B48A5 #3F62CD

Accessibility & contrast

On white

11.79
#1E3374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E3374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3374
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3374#FFFFFF#000000##FFFFFF
##1E33741.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033C76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e3374;
/* rgb */ color: rgb(30, 51, 116);
/* oklch */ color: oklch(34.5% 0.115 266.7);
Tailwind
colors: {
  custom: {
    50: '#666a9d',
    500: '#1e3374',
    950: '#000000',
  },
}
SCSS
$custom: #1e3374;
$custom-light: #666a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3374",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 225.349,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34513,
    "c": 0.11495,
    "h": 266.7
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#1E3374
secondary
#A89046
accent
#BC46E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1E3374

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

Preview Lab → · Contrast checker → · Palette generator →

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