#1E4397#1E4397

#1E4397 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.145 H 263.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#1E4397
RGBrgb(30, 67, 151)
HSLhsl(222, 67%, 35%)
HSVhsv(222, 80%, 59%)
CMYKcmyk(80.1%, 55.6%, 0%, 40.8%)
CIE-LABlab(30.70, 18.99, -49.78)
CIE-LCHlch(30.70, 53.28, 290.88°)
OKLaboklab(40.93% -0.0165 -0.1436)
OKLCHoklch(40.93% 0.145 263.4)
XYZxyz(8.1265, 6.5237, 30.1031)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4397 #97721E
analogous
#1E7F97 #1E4397 #351E97
triadic
#1E4397 #971E43 #43971E
tetradic
#1E4397 #971E7F #97721E #1E9735
square
#1E4397 #971E7F #97721E #1E9735
split-complementary
#1E4397 #97351E #7F971E
monochromatic
#0A1631 #142C64 #1E4397 #285ACA #537DDD

Accessibility & contrast

On white

9.11
#1E4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1E4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4397
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4397#FFFFFF#000000##FFFFFF
##1E43971.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1e4397;
/* rgb */ color: rgb(30, 67, 151);
/* oklch */ color: oklch(40.9% 0.145 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e76b6',
    500: '#1e4397',
    950: '#000000',
  },
}
SCSS
$custom: #1e4397;
$custom-light: #6e76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4397",
  "rgb": {
    "r": 30,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 221.653,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.14453,
    "h": 263.4
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#1E4397
secondary
#C09E51
accent
#B53EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4397

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

Preview Lab → · Contrast checker → · Palette generator →

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