#1E3380#1E3380

#1E3380 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.133 H 267.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#1E3380
RGBrgb(30, 51, 128)
HSLhsl(227, 62%, 31%)
HSVhsv(227, 77%, 50%)
CMYKcmyk(76.6%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.33, 20.90, -45.90)
CIE-LCHlch(24.33, 50.44, 294.48°)
OKLaboklab(35.55% -0.0058 -0.1325)
OKLCHoklch(35.55% 0.133 267.5)
XYZxyz(5.6142, 4.2016, 20.9330)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3380 #806B1E
analogous
#1E6480 #1E3380 #3A1E80
triadic
#1E3380 #801E33 #33801E
tetradic
#1E3380 #801E64 #806B1E #1E803A
square
#1E3380 #801E64 #806B1E #1E803A
split-complementary
#1E3380 #803A1E #64801E
monochromatic
#070B1D #121F4E #1E3380 #2A47B2 #4564D3

Accessibility & contrast

On white

11.41
#1E3380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E3380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3380
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3380#FFFFFF#000000##FFFFFF
##1E33801.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e3380;
/* rgb */ color: rgb(30, 51, 128);
/* oklch */ color: oklch(35.6% 0.133 267.5);
Tailwind
colors: {
  custom: {
    50: '#696aa6',
    500: '#1e3380',
    950: '#000000',
  },
}
SCSS
$custom: #1e3380;
$custom-light: #696aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3380",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 227.143,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.13259,
    "h": 267.5
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#1E3380
secondary
#B39C47
accent
#C243E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E3380

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

Preview Lab → · Contrast checker → · Palette generator →

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