#1E3397#1E3397

#1E3397 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.165 H 267.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#1E3397
RGBrgb(30, 51, 151)
HSLhsl(230, 67%, 35%)
HSVhsv(230, 80%, 59%)
CMYKcmyk(80.1%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.38, 29.89, -56.82)
CIE-LCHlch(26.38, 64.20, 297.74°)
OKLaboklab(37.71% -0.0061 -0.1645)
OKLCHoklch(37.71% 0.165 267.9)
XYZxyz(7.3032, 4.8772, 29.8286)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3397 #97821E
analogous
#1E6F97 #1E3397 #461E97
triadic
#1E3397 #971E33 #33971E
tetradic
#1E3397 #971E6F #97821E #1E9746
square
#1E3397 #971E6F #97821E #1E9746
split-complementary
#1E3397 #97461E #6F971E
monochromatic
#0A1131 #142264 #1E3397 #2844CA #536BDD

Accessibility & contrast

On white

10.63
#1E3397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1E3397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3397
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3397#FFFFFF#000000##FFFFFF
##1E33971.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1e3397;
/* rgb */ color: rgb(30, 51, 151);
/* oklch */ color: oklch(37.7% 0.165 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ab7',
    500: '#1e3397',
    950: '#000000',
  },
}
SCSS
$custom: #1e3397;
$custom-light: #6f6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3397",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 229.587,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.16458,
    "h": 267.9
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#1E3397
secondary
#C0AD51
accent
#CC3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E3397

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

Preview Lab → · Contrast checker → · Palette generator →

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