#1E337E#1E337E

#1E337E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.130 H 267.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1E337E
RGBrgb(30, 51, 126)
HSLhsl(227, 62%, 31%)
HSVhsv(227, 76%, 49%)
CMYKcmyk(76.2%, 59.5%, 0%, 50.6%)
CIE-LABlab(24.16, 20.10, -44.91)
CIE-LCHlch(24.16, 49.21, 294.11°)
OKLaboklab(35.38% -0.0059 -0.1296)
OKLCHoklch(35.38% 0.13 267.4)
XYZxyz(5.4838, 4.1494, 20.2465)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E337E #7E691E
analogous
#1E637E #1E337E #391E7E
triadic
#1E337E #7E1E33 #337E1E
tetradic
#1E337E #7E1E63 #7E691E #1E7E39
square
#1E337E #7E1E63 #7E691E #1E7E39
split-complementary
#1E337E #7E391E #637E1E
monochromatic
#060B1B #121F4D #1E337E #2A47AF #4463D2

Accessibility & contrast

On white

11.48
#1E337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E337E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E337E#FFFFFF#000000##FFFFFF
##1E337E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e337e;
/* rgb */ color: rgb(30, 51, 126);
/* oklch */ color: oklch(35.4% 0.130 267.4);
Tailwind
colors: {
  custom: {
    50: '#696aa4',
    500: '#1e337e',
    950: '#000000',
  },
}
SCSS
$custom: #1e337e;
$custom-light: #696aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e337e",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 226.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35375,
    "c": 0.12969,
    "h": 267.4
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#1E337E
secondary
#B19A47
accent
#C143E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E337E

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

Preview Lab → · Contrast checker → · Palette generator →

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