#1E327C#1E327C

#1E327C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.128 H 267.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#1E327C
RGBrgb(30, 50, 124)
HSLhsl(227, 61%, 30%)
HSVhsv(227, 76%, 49%)
CMYKcmyk(75.8%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.71, 20.01, -44.38)
CIE-LCHlch(23.71, 48.68, 294.27°)
OKLaboklab(34.99% -0.0052 -0.128)
OKLCHoklch(34.99% 0.128 267.7)
XYZxyz(5.3129, 4.0119, 19.5592)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E327C #7C681E
analogous
#1E617C #1E327C #391E7C
triadic
#1E327C #7C1E32 #327C1E
tetradic
#1E327C #7C1E61 #7C681E #1E7C39
square
#1E327C #7C1E61 #7C681E #1E7C39
split-complementary
#1E327C #7C391E #617C1E
monochromatic
#060A19 #121E4B #1E327C #2A46AD #4361D1

Accessibility & contrast

On white

11.65
#1E327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E327C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E327C#FFFFFF#000000##FFFFFF
##1E327C1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e327c;
/* rgb */ color: rgb(30, 50, 124);
/* oklch */ color: oklch(35.0% 0.128 267.7);
Tailwind
colors: {
  custom: {
    50: '#6869a3',
    500: '#1e327c',
    950: '#000000',
  },
}
SCSS
$custom: #1e327c;
$custom-light: #6869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e327c",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 227.234,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.12811,
    "h": 267.7
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#1E327C
secondary
#AF9946
accent
#C244E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E327C

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

Preview Lab → · Contrast checker → · Palette generator →

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