#1E327B#1E327B

#1E327B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.127 H 267.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1E327B
RGBrgb(30, 50, 123)
HSLhsl(227, 61%, 30%)
HSVhsv(227, 76%, 48%)
CMYKcmyk(75.6%, 59.3%, 0%, 51.8%)
CIE-LABlab(23.63, 19.61, -43.88)
CIE-LCHlch(23.63, 48.07, 294.08°)
OKLaboklab(34.9% -0.0052 -0.1265)
OKLCHoklch(34.9% 0.127 267.6)
XYZxyz(5.2499, 3.9867, 19.2279)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E327B #7B671E
analogous
#1E607B #1E327B #391E7B
triadic
#1E327B #7B1E32 #327B1E
tetradic
#1E327B #7B1E60 #7B671E #1E7B39
square
#1E327B #7B1E60 #7B671E #1E7B39
split-complementary
#1E327B #7B391E #607B1E
monochromatic
#060A19 #121E4A #1E327B #2A46AC #4261D1

Accessibility & contrast

On white

11.68
#1E327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E327B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E327B#FFFFFF#000000##FFFFFF
##1E327B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e327b;
/* rgb */ color: rgb(30, 50, 123);
/* oklch */ color: oklch(34.9% 0.127 267.6);
Tailwind
colors: {
  custom: {
    50: '#6869a2',
    500: '#1e327b',
    950: '#000000',
  },
}
SCSS
$custom: #1e327b;
$custom-light: #6869a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e327b",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 227.097,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.34898,
    "c": 0.12665,
    "h": 267.6
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#1E327B
secondary
#AE9846
accent
#C144E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E327B

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

Preview Lab → · Contrast checker → · Palette generator →

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