#1E377F#1E377F

#1E377F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.126 H 265.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1E377F
RGBrgb(30, 55, 127)
HSLhsl(225, 62%, 31%)
HSVhsv(225, 76%, 50%)
CMYKcmyk(76.4%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.38, 17.69, -43.56)
CIE-LCHlch(25.38, 47.01, 292.11°)
OKLaboklab(36.32% -0.0091 -0.1255)
OKLCHoklch(36.32% 0.126 265.8)
XYZxyz(5.7310, 4.5401, 20.6488)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E377F #7F661E
analogous
#1E677F #1E377F #351E7F
triadic
#1E377F #7F1E37 #377F1E
tetradic
#1E377F #7F1E67 #7F661E #1E7F35
square
#1E377F #7F1E67 #7F661E #1E7F35
split-complementary
#1E377F #7F351E #677F1E
monochromatic
#070C1C #12224D #1E377F #2A4CB1 #4469D3

Accessibility & contrast

On white

11.01
#1E377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E377F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E377F#FFFFFF#000000##FFFFFF
##1E377F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e377f;
/* rgb */ color: rgb(30, 55, 127);
/* oklch */ color: oklch(36.3% 0.126 265.8);
Tailwind
colors: {
  custom: {
    50: '#696da5',
    500: '#1e377f',
    950: '#000000',
  },
}
SCSS
$custom: #1e377f;
$custom-light: #696da5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e377f",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 224.536,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.12583,
    "h": 265.8
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#1E377F
secondary
#B29647
accent
#BB43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E377F

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

Preview Lab → · Contrast checker → · Palette generator →

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