#1E3474#1E3474

#1E3474 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.114 H 266.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1E3474
RGBrgb(30, 52, 116)
HSLhsl(225, 59%, 29%)
HSVhsv(225, 74%, 45%)
CMYKcmyk(74.1%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.65, 15.38, -39.40)
CIE-LCHlch(23.65, 42.30, 291.33°)
OKLaboklab(34.74% -0.0074 -0.1133)
OKLCHoklch(34.74% 0.114 266.2)
XYZxyz(4.9147, 3.9925, 17.0312)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3474 #745E1E
analogous
#1E5F74 #1E3474 #331E74
triadic
#1E3474 #741E34 #34741E
tetradic
#1E3474 #741E5F #745E1E #1E7433
square
#1E3474 #741E5F #745E1E #1E7433
split-complementary
#1E3474 #74331E #5F741E
monochromatic
#060B18 #111E43 #1E3474 #2B4AA5 #3F63CD

Accessibility & contrast

On white

11.68
#1E3474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3474
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3474#FFFFFF#000000##FFFFFF
##1E34741.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e3474;
/* rgb */ color: rgb(30, 52, 116);
/* oklch */ color: oklch(34.7% 0.114 266.2);
Tailwind
colors: {
  custom: {
    50: '#666b9c',
    500: '#1e3474',
    950: '#000000',
  },
}
SCSS
$custom: #1e3474;
$custom-light: #666b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3474",
  "rgb": {
    "r": 30,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 224.651,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34736,
    "c": 0.11358,
    "h": 266.2
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#1E3474
secondary
#A88F46
accent
#BA46E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E3474

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

Preview Lab → · Contrast checker → · Palette generator →

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