#1E4099#1E4099

#1E4099 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.151 H 264.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#1E4099
RGBrgb(30, 64, 153)
HSLhsl(223, 67%, 36%)
HSVhsv(223, 80%, 60%)
CMYKcmyk(80.4%, 58.2%, 0%, 40%)
CIE-LABlab(30.01, 21.84, -52.11)
CIE-LCHlch(30.01, 56.50, 292.74°)
OKLaboklab(40.46% -0.0142 -0.1505)
OKLCHoklch(40.46% 0.151 264.6)
XYZxyz(8.1165, 6.2418, 30.9078)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4099 #99771E
analogous
#1E7D99 #1E4099 #3A1E99
triadic
#1E4099 #991E40 #40991E
tetradic
#1E4099 #991E7D #99771E #1E993A
square
#1E4099 #991E7D #99771E #1E993A
split-complementary
#1E4099 #993A1E #7D991E
monochromatic
#0A1533 #142B66 #1E4099 #2855CC #547ADD

Accessibility & contrast

On white

9.34
#1E4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1E4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4099
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4099#FFFFFF#000000##FFFFFF
##1E40991.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e4099;
/* rgb */ color: rgb(30, 64, 153);
/* oklch */ color: oklch(40.5% 0.151 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f74b8',
    500: '#1e4099',
    950: '#000000',
  },
}
SCSS
$custom: #1e4099;
$custom-light: #6f74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4099",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 223.415,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40464,
    "c": 0.15114,
    "h": 264.6
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#1E4099
secondary
#C1A252
accent
#BA3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1E4099

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

Preview Lab → · Contrast checker → · Palette generator →

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