#1E3696#1E3696

#1E3696 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.160 H 267.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#1E3696
RGBrgb(30, 54, 150)
HSLhsl(228, 67%, 35%)
HSVhsv(228, 80%, 59%)
CMYKcmyk(80%, 64%, 0%, 41.2%)
CIE-LABlab(27.06, 27.48, -55.09)
CIE-LCHlch(27.06, 61.57, 296.51°)
OKLaboklab(38.18% -0.0078 -0.1594)
OKLCHoklch(38.18% 0.16 267.2)
XYZxyz(7.3577, 5.1155, 29.4479)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3696 #967E1E
analogous
#1E7296 #1E3696 #421E96
triadic
#1E3696 #961E36 #36961E
tetradic
#1E3696 #961E72 #967E1E #1E9642
square
#1E3696 #961E72 #967E1E #1E9642
split-complementary
#1E3696 #96421E #72961E
monochromatic
#0A1130 #142463 #1E3696 #2848C9 #526EDC

Accessibility & contrast

On white

10.38
#1E3696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1E3696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3696
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3696#FFFFFF#000000##FFFFFF
##1E36961.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e3696;
/* rgb */ color: rgb(30, 54, 150);
/* oklch */ color: oklch(38.2% 0.160 267.2);
Tailwind
colors: {
  custom: {
    50: '#6f6cb6',
    500: '#1e3696',
    950: '#000000',
  },
}
SCSS
$custom: #1e3696;
$custom-light: #6f6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3696",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 228,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38182,
    "c": 0.15957,
    "h": 267.2
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#1E3696
secondary
#BFA950
accent
#C73EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3696

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

Preview Lab → · Contrast checker → · Palette generator →

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