#1E327A#1E327A

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

Color values

HEX#1E327A
RGBrgb(30, 50, 122)
HSLhsl(227, 61%, 30%)
HSVhsv(227, 75%, 48%)
CMYKcmyk(75.4%, 59%, 0%, 52.2%)
CIE-LABlab(23.54, 19.21, -43.38)
CIE-LCHlch(23.54, 47.45, 293.88°)
OKLaboklab(34.81% -0.0052 -0.1251)
OKLCHoklch(34.81% 0.125 267.6)
XYZxyz(5.1877, 3.9618, 18.8999)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E327A #7A661E
analogous
#1E607A #1E327A #381E7A
triadic
#1E327A #7A1E32 #327A1E
tetradic
#1E327A #7A1E60 #7A661E #1E7A38
square
#1E327A #7A1E60 #7A661E #1E7A38
split-complementary
#1E327A #7A381E #607A1E
monochromatic
#060A19 #121E49 #1E327A #2A46AB #4261D0

Accessibility & contrast

On white

11.72
#1E327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E327A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E327A#FFFFFF#000000##FFFFFF
##1E327A1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e327a;
/* rgb */ color: rgb(30, 50, 122);
/* oklch */ color: oklch(34.8% 0.125 267.6);
Tailwind
colors: {
  custom: {
    50: '#6869a1',
    500: '#1e327a',
    950: '#000000',
  },
}
SCSS
$custom: #1e327a;
$custom-light: #6869a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e327a",
  "rgb": {
    "r": 30,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 226.957,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3481,
    "c": 0.12519,
    "h": 267.6
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E327A

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

Preview Lab → · Contrast checker → · Palette generator →

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