#1E337F#1E337F

#1E337F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.131 H 267.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#1E337F
RGBrgb(30, 51, 127)
HSLhsl(227, 62%, 31%)
HSVhsv(227, 76%, 50%)
CMYKcmyk(76.4%, 59.8%, 0%, 50.2%)
CIE-LABlab(24.24, 20.50, -45.41)
CIE-LCHlch(24.24, 49.82, 294.30°)
OKLaboklab(35.46% -0.0059 -0.131)
OKLCHoklch(35.46% 0.131 267.4)
XYZxyz(5.5487, 4.1754, 20.5881)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E337F #7F6A1E
analogous
#1E637F #1E337F #391E7F
triadic
#1E337F #7F1E33 #337F1E
tetradic
#1E337F #7F1E63 #7F6A1E #1E7F39
square
#1E337F #7F1E63 #7F6A1E #1E7F39
split-complementary
#1E337F #7F391E #637F1E
monochromatic
#070B1C #121F4D #1E337F #2A47B1 #4463D3

Accessibility & contrast

On white

11.44
#1E337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E337F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E337F#FFFFFF#000000##FFFFFF
##1E337F1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e337f;
/* rgb */ color: rgb(30, 51, 127);
/* oklch */ color: oklch(35.5% 0.131 267.4);
Tailwind
colors: {
  custom: {
    50: '#696aa5',
    500: '#1e337f',
    950: '#000000',
  },
}
SCSS
$custom: #1e337f;
$custom-light: #696aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e337f",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 227.01,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35464,
    "c": 0.13114,
    "h": 267.4
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E337F

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

Preview Lab → · Contrast checker → · Palette generator →

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