#1E3588#1E3588

#1E3588 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.141 H 267.1°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#1E3588
RGBrgb(30, 53, 136)
HSLhsl(227, 64%, 33%)
HSVhsv(227, 78%, 53%)
CMYKcmyk(77.9%, 61%, 0%, 46.7%)
CIE-LABlab(25.56, 22.68, -48.90)
CIE-LCHlch(25.56, 53.90, 294.89°)
OKLaboklab(36.69% -0.0071 -0.1412)
OKLCHoklch(36.69% 0.141 267.1)
XYZxyz(6.2509, 4.5991, 23.8461)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3588 #88711E
analogous
#1E6A88 #1E3588 #3C1E88
triadic
#1E3588 #881E35 #35881E
tetradic
#1E3588 #881E6A #88711E #1E883C
square
#1E3588 #881E6A #88711E #1E883C
split-complementary
#1E3588 #883C1E #6A881E
monochromatic
#080E24 #132156 #1E3588 #2949BA #4968D7

Accessibility & contrast

On white

10.94
#1E3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1E3588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3588
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3588#FFFFFF#000000##FFFFFF
##1E35881.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e3588;
/* rgb */ color: rgb(30, 53, 136);
/* oklch */ color: oklch(36.7% 0.141 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b6bab',
    500: '#1e3588',
    950: '#000000',
  },
}
SCSS
$custom: #1e3588;
$custom-light: #6b6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3588",
  "rgb": {
    "r": 30,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 226.981,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36686,
    "c": 0.14141,
    "h": 267.1
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#1E3588
secondary
#B9A149
accent
#C341E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1E3588

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

Preview Lab → · Contrast checker → · Palette generator →

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