#1E327E#1E327E

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

Color values

HEX#1E327E
RGBrgb(30, 50, 126)
HSLhsl(228, 62%, 31%)
HSVhsv(228, 76%, 49%)
CMYKcmyk(76.2%, 60.3%, 0%, 50.6%)
CIE-LABlab(23.88, 20.81, -45.37)
CIE-LCHlch(23.88, 49.91, 294.63°)
OKLaboklab(35.17% -0.0051 -0.1309)
OKLCHoklch(35.17% 0.131 267.8)
XYZxyz(5.4406, 4.0630, 20.2321)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E327E #7E6A1E
analogous
#1E627E #1E327E #3A1E7E
triadic
#1E327E #7E1E32 #327E1E
tetradic
#1E327E #7E1E62 #7E6A1E #1E7E3A
square
#1E327E #7E1E62 #7E6A1E #1E7E3A
split-complementary
#1E327E #7E3A1E #627E1E
monochromatic
#060B1B #121E4D #1E327E #2A46AF #4462D2

Accessibility & contrast

On white

11.58
#1E327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E327E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E327E#FFFFFF#000000##FFFFFF
##1E327E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e327e;
/* rgb */ color: rgb(30, 50, 126);
/* oklch */ color: oklch(35.2% 0.131 267.8);
Tailwind
colors: {
  custom: {
    50: '#6969a4',
    500: '#1e327e',
    950: '#000000',
  },
}
SCSS
$custom: #1e327e;
$custom-light: #6969a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e327e",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 227.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35165,
    "c": 0.13101,
    "h": 267.8
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E327E

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

Preview Lab → · Contrast checker → · Palette generator →

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