#1E4097#1E4097

#1E4097 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.148 H 264.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1E4097
RGBrgb(30, 64, 151)
HSLhsl(223, 67%, 35%)
HSVhsv(223, 80%, 59%)
CMYKcmyk(80.1%, 57.6%, 0%, 40.8%)
CIE-LABlab(29.85, 21.05, -51.15)
CIE-LCHlch(29.85, 55.31, 292.37°)
OKLaboklab(40.29% -0.0144 -0.1477)
OKLCHoklch(40.29% 0.148 264.4)
XYZxyz(7.9527, 6.1763, 30.0452)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4097 #97751E
analogous
#1E7D97 #1E4097 #381E97
triadic
#1E4097 #971E40 #40971E
tetradic
#1E4097 #971E7D #97751E #1E9738
square
#1E4097 #971E7D #97751E #1E9738
split-complementary
#1E4097 #97381E #7D971E
monochromatic
#0A1531 #142A64 #1E4097 #2856CA #5379DD

Accessibility & contrast

On white

9.39
#1E4097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1E4097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4097
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4097#FFFFFF#000000##FFFFFF
##1E40971.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e4097;
/* rgb */ color: rgb(30, 64, 151);
/* oklch */ color: oklch(40.3% 0.148 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e74b6',
    500: '#1e4097',
    950: '#000000',
  },
}
SCSS
$custom: #1e4097;
$custom-light: #6e74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4097",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 223.14,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40292,
    "c": 0.14837,
    "h": 264.4
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#1E4097
secondary
#C0A151
accent
#BA3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1E4097

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

Preview Lab → · Contrast checker → · Palette generator →

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