#1E4187#1E4187

#1E4187 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.124 H 262.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1E4187
RGBrgb(30, 65, 135)
HSLhsl(220, 64%, 32%)
HSVhsv(220, 78%, 53%)
CMYKcmyk(77.8%, 51.9%, 0%, 47.1%)
CIE-LABlab(28.92, 13.94, -42.83)
CIE-LCHlch(28.92, 45.04, 288.03°)
OKLaboklab(39.19% -0.0167 -0.1232)
OKLCHoklch(39.19% 0.124 262.3)
XYZxyz(6.7973, 5.8051, 23.6792)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4187 #87641E
analogous
#1E7687 #1E4187 #301E87
triadic
#1E4187 #871E41 #41871E
tetradic
#1E4187 #871E76 #87641E #1E8730
square
#1E4187 #871E76 #87641E #1E8730
split-complementary
#1E4187 #87301E #76871E
monochromatic
#081123 #132955 #1E4187 #2959B9 #4978D7

Accessibility & contrast

On white

9.72
#1E4187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1E4187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4187
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4187#FFFFFF#000000##FFFFFF
##1E41871.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16498A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e4187;
/* rgb */ color: rgb(30, 65, 135);
/* oklch */ color: oklch(39.2% 0.124 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a75aa',
    500: '#1e4187',
    950: '#000000',
  },
}
SCSS
$custom: #1e4187;
$custom-light: #6a75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4187",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 220,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39194,
    "c": 0.12431,
    "h": 262.3
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#1E4187
secondary
#B99348
accent
#AF41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1E4187

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

Preview Lab → · Contrast checker → · Palette generator →

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