#1E337D#1E337D

#1E337D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.128 H 267.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1E337D
RGBrgb(30, 51, 125)
HSLhsl(227, 61%, 30%)
HSVhsv(227, 76%, 49%)
CMYKcmyk(76%, 59.2%, 0%, 51%)
CIE-LABlab(24.08, 19.70, -44.42)
CIE-LCHlch(24.08, 48.59, 293.92°)
OKLaboklab(35.29% -0.0059 -0.1281)
OKLCHoklch(35.29% 0.128 267.3)
XYZxyz(5.4196, 4.1238, 19.9084)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E337D #7D681E
analogous
#1E627D #1E337D #391E7D
triadic
#1E337D #7D1E33 #337D1E
tetradic
#1E337D #7D1E62 #7D681E #1E7D39
square
#1E337D #7D1E62 #7D681E #1E7D39
split-complementary
#1E337D #7D391E #627D1E
monochromatic
#060B1A #121F4C #1E337D #2A47AE #4363D2

Accessibility & contrast

On white

11.51
#1E337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1E337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E337D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E337D#FFFFFF#000000##FFFFFF
##1E337D1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e337d;
/* rgb */ color: rgb(30, 51, 125);
/* oklch */ color: oklch(35.3% 0.128 267.3);
Tailwind
colors: {
  custom: {
    50: '#696aa3',
    500: '#1e337d',
    950: '#000000',
  },
}
SCSS
$custom: #1e337d;
$custom-light: #696aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e337d",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 226.737,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.12824,
    "h": 267.3
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#1E337D
secondary
#B09946
accent
#C143E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E337D

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

Preview Lab → · Contrast checker → · Palette generator →

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