#1E4197#1E4197

#1E4197 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.147 H 264.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1E4197
RGBrgb(30, 65, 151)
HSLhsl(223, 67%, 35%)
HSVhsv(223, 80%, 59%)
CMYKcmyk(80.1%, 57%, 0%, 40.8%)
CIE-LABlab(30.13, 20.36, -50.70)
CIE-LCHlch(30.13, 54.63, 291.88°)
OKLaboklab(40.5% -0.0151 -0.1463)
OKLCHoklch(40.5% 0.147 264.1)
XYZxyz(8.0096, 6.2900, 30.0641)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4197 #97741E
analogous
#1E7D97 #1E4197 #381E97
triadic
#1E4197 #971E41 #41971E
tetradic
#1E4197 #971E7D #97741E #1E9738
square
#1E4197 #971E7D #97741E #1E9738
split-complementary
#1E4197 #97381E #7D971E
monochromatic
#0A1531 #142B64 #1E4197 #2857CA #537BDD

Accessibility & contrast

On white

9.30
#1E4197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1E4197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4197
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4197#FFFFFF#000000##FFFFFF
##1E41971.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e4197;
/* rgb */ color: rgb(30, 65, 151);
/* oklch */ color: oklch(40.5% 0.147 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e75b6',
    500: '#1e4197',
    950: '#000000',
  },
}
SCSS
$custom: #1e4197;
$custom-light: #6e75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4197",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 222.645,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.14708,
    "h": 264.1
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#1E4197
secondary
#C0A051
accent
#B83EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4197

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

Preview Lab → · Contrast checker → · Palette generator →

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