#1E3370#1E3370

#1E3370 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.109 H 266.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1E3370
RGBrgb(30, 51, 112)
HSLhsl(225, 58%, 28%)
HSVhsv(225, 73%, 44%)
CMYKcmyk(73.2%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.04, 14.48, -37.82)
CIE-LCHlch(23.04, 40.50, 290.96°)
OKLaboklab(34.18% -0.0069 -0.1087)
OKLCHoklch(34.18% 0.109 266.4)
XYZxyz(4.6429, 3.8131, 15.8174)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3370 #705B1E
analogous
#1E5C70 #1E3370 #321E70
triadic
#1E3370 #701E33 #33701E
tetradic
#1E3370 #701E5C #705B1E #1E7032
square
#1E3370 #701E5C #705B1E #1E7032
split-complementary
#1E3370 #70321E #5C701E
monochromatic
#060B18 #111D40 #1E3370 #2B49A0 #3D62CB

Accessibility & contrast

On white

11.91
#1E3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3370
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3370#FFFFFF#000000##FFFFFF
##1E33701.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B72
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e3370;
/* rgb */ color: rgb(30, 51, 112);
/* oklch */ color: oklch(34.2% 0.109 266.4);
Tailwind
colors: {
  custom: {
    50: '#656a99',
    500: '#1e3370',
    950: '#000000',
  },
}
SCSS
$custom: #1e3370;
$custom-light: #656a99;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3370",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 224.634,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34182,
    "c": 0.10891,
    "h": 266.4
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#1E3370
secondary
#A48C46
accent
#BA47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1E3370

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

Preview Lab → · Contrast checker → · Palette generator →

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