#1E327F#1E327F

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

Color values

HEX#1E327F
RGBrgb(30, 50, 127)
HSLhsl(228, 62%, 31%)
HSVhsv(228, 76%, 50%)
CMYKcmyk(76.4%, 60.6%, 0%, 50.2%)
CIE-LABlab(23.96, 21.20, -45.86)
CIE-LCHlch(23.96, 50.53, 294.81°)
OKLaboklab(35.25% -0.0051 -0.1324)
OKLCHoklch(35.25% 0.132 267.8)
XYZxyz(5.5055, 4.0889, 20.5737)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E327F #7F6B1E
analogous
#1E627F #1E327F #3A1E7F
triadic
#1E327F #7F1E32 #327F1E
tetradic
#1E327F #7F1E62 #7F6B1E #1E7F3A
square
#1E327F #7F1E62 #7F6B1E #1E7F3A
split-complementary
#1E327F #7F3A1E #627F1E
monochromatic
#070B1C #121F4D #1E327F #2A45B1 #4462D3

Accessibility & contrast

On white

11.55
#1E327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E327F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E327F#FFFFFF#000000##FFFFFF
##1E327F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e327f;
/* rgb */ color: rgb(30, 50, 127);
/* oklch */ color: oklch(35.3% 0.132 267.8);
Tailwind
colors: {
  custom: {
    50: '#6969a5',
    500: '#1e327f',
    950: '#000000',
  },
}
SCSS
$custom: #1e327f;
$custom-light: #6969a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e327f",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 227.629,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35255,
    "c": 0.13246,
    "h": 267.8
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#1E327F
secondary
#B29C47
accent
#C343E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E327F

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

Preview Lab → · Contrast checker → · Palette generator →

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