#1E4088#1E4088

#1E4088 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.127 H 262.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1E4088
RGBrgb(30, 64, 136)
HSLhsl(221, 64%, 33%)
HSVhsv(221, 78%, 53%)
CMYKcmyk(77.9%, 52.9%, 0%, 46.7%)
CIE-LABlab(28.69, 15.04, -43.81)
CIE-LCHlch(28.69, 46.32, 288.94°)
OKLaboklab(39.05% -0.0157 -0.1261)
OKLCHoklch(39.05% 0.127 262.9)
XYZxyz(6.8112, 5.7196, 24.0328)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4088 #88661E
analogous
#1E7588 #1E4088 #311E88
triadic
#1E4088 #881E40 #40881E
tetradic
#1E4088 #881E75 #88661E #1E8831
square
#1E4088 #881E75 #88661E #1E8831
split-complementary
#1E4088 #88311E #75881E
monochromatic
#081124 #132856 #1E4088 #2958BA #4977D7

Accessibility & contrast

On white

9.79
#1E4088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1E4088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4088
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4088#FFFFFF#000000##FFFFFF
##1E40881.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e4088;
/* rgb */ color: rgb(30, 64, 136);
/* oklch */ color: oklch(39.0% 0.127 262.9);
Tailwind
colors: {
  custom: {
    50: '#6b74ab',
    500: '#1e4088',
    950: '#000000',
  },
}
SCSS
$custom: #1e4088;
$custom-light: #6b74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4088",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 220.755,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.12706,
    "h": 262.9
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#1E4088
secondary
#B99549
accent
#B241E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4088

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

Preview Lab → · Contrast checker → · Palette generator →

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