#1E3697#1E3697

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

Color values

HEX#1E3697
RGBrgb(30, 54, 151)
HSLhsl(228, 67%, 35%)
HSVhsv(228, 80%, 59%)
CMYKcmyk(80.1%, 64.2%, 0%, 40.8%)
CIE-LABlab(27.15, 27.87, -55.56)
CIE-LCHlch(27.15, 62.16, 296.64°)
OKLaboklab(38.28% -0.0078 -0.1607)
OKLCHoklch(38.28% 0.161 267.2)
XYZxyz(7.4386, 5.1479, 29.8738)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3697 #977F1E
analogous
#1E7297 #1E3697 #421E97
triadic
#1E3697 #971E36 #36971E
tetradic
#1E3697 #971E72 #977F1E #1E9742
square
#1E3697 #971E72 #977F1E #1E9742
split-complementary
#1E3697 #97421E #72971E
monochromatic
#0A1131 #142464 #1E3697 #2848CA #536EDD

Accessibility & contrast

On white

10.35
#1E3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1E3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3697
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3697#FFFFFF#000000##FFFFFF
##1E36971.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e3697;
/* rgb */ color: rgb(30, 54, 151);
/* oklch */ color: oklch(38.3% 0.161 267.2);
Tailwind
colors: {
  custom: {
    50: '#6f6cb6',
    500: '#1e3697',
    950: '#000000',
  },
}
SCSS
$custom: #1e3697;
$custom-light: #6f6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3697",
  "rgb": {
    "r": 30,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 228.099,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.16093,
    "h": 267.2
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#1E3697
secondary
#C0AA51
accent
#C83EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1E3697

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

Preview Lab → · Contrast checker → · Palette generator →

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