#1E4098#1E4098

#1E4098 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.150 H 264.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1E4098
RGBrgb(30, 64, 152)
HSLhsl(223, 67%, 36%)
HSVhsv(223, 80%, 60%)
CMYKcmyk(80.3%, 57.9%, 0%, 40.4%)
CIE-LABlab(29.93, 21.45, -51.63)
CIE-LCHlch(29.93, 55.91, 292.56°)
OKLaboklab(40.38% -0.0143 -0.1491)
OKLCHoklch(40.38% 0.15 264.5)
XYZxyz(8.0343, 6.2089, 30.4747)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4098 #98761E
analogous
#1E7D98 #1E4098 #391E98
triadic
#1E4098 #981E40 #40981E
tetradic
#1E4098 #981E7D #98761E #1E9839
square
#1E4098 #981E7D #98761E #1E9839
split-complementary
#1E4098 #98391E #7D981E
monochromatic
#0A1532 #142A65 #1E4098 #2856CB #537ADD

Accessibility & contrast

On white

9.37
#1E4098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4098
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4098#FFFFFF#000000##FFFFFF
##1E40981.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e4098;
/* rgb */ color: rgb(30, 64, 152);
/* oklch */ color: oklch(40.4% 0.150 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f74b7',
    500: '#1e4098',
    950: '#000000',
  },
}
SCSS
$custom: #1e4098;
$custom-light: #6f74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4098",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 223.279,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.14975,
    "h": 264.5
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E4098

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

Preview Lab → · Contrast checker → · Palette generator →

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