#1E3379#1E3379

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

Color values

HEX#1E3379
RGBrgb(30, 51, 121)
HSLhsl(226, 60%, 30%)
HSVhsv(226, 75%, 47%)
CMYKcmyk(75.2%, 57.9%, 0%, 52.5%)
CIE-LABlab(23.75, 18.10, -42.42)
CIE-LCHlch(23.75, 46.12, 293.11°)
OKLaboklab(34.94% -0.0061 -0.1222)
OKLCHoklch(34.94% 0.122 267.1)
XYZxyz(5.1692, 4.0236, 18.5897)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3379 #79641E
analogous
#1E6179 #1E3379 #371E79
triadic
#1E3379 #791E33 #33791E
tetradic
#1E3379 #791E61 #79641E #1E7937
square
#1E3379 #791E61 #79641E #1E7937
split-complementary
#1E3379 #79371E #61791E
monochromatic
#060A19 #121E48 #1E3379 #2A48AA #4162D0

Accessibility & contrast

On white

11.64
#1E3379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E3379
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3379#FFFFFF#000000##FFFFFF
##1E33791.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e3379;
/* rgb */ color: rgb(30, 51, 121);
/* oklch */ color: oklch(34.9% 0.122 267.1);
Tailwind
colors: {
  custom: {
    50: '#686aa0',
    500: '#1e3379',
    950: '#000000',
  },
}
SCSS
$custom: #1e3379;
$custom-light: #686aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3379",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 226.154,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34938,
    "c": 0.12237,
    "h": 267.1
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#1E3379
secondary
#AD9546
accent
#BF44E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1E3379

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

Preview Lab → · Contrast checker → · Palette generator →

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