#1E337A#1E337A

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

Color values

HEX#1E337A
RGBrgb(30, 51, 122)
HSLhsl(226, 61%, 30%)
HSVhsv(226, 75%, 48%)
CMYKcmyk(75.4%, 58.2%, 0%, 52.2%)
CIE-LABlab(23.83, 18.50, -42.92)
CIE-LCHlch(23.83, 46.74, 293.32°)
OKLaboklab(35.03% -0.0061 -0.1237)
OKLCHoklch(35.03% 0.124 267.2)
XYZxyz(5.2309, 4.0483, 18.9143)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E337A #7A651E
analogous
#1E617A #1E337A #371E7A
triadic
#1E337A #7A1E33 #337A1E
tetradic
#1E337A #7A1E61 #7A651E #1E7A37
square
#1E337A #7A1E61 #7A651E #1E7A37
split-complementary
#1E337A #7A371E #617A1E
monochromatic
#060A19 #121E49 #1E337A #2A48AB #4262D0

Accessibility & contrast

On white

11.60
#1E337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E337A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E337A#FFFFFF#000000##FFFFFF
##1E337A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e337a;
/* rgb */ color: rgb(30, 51, 122);
/* oklch */ color: oklch(35.0% 0.124 267.2);
Tailwind
colors: {
  custom: {
    50: '#686aa1',
    500: '#1e337a',
    950: '#000000',
  },
}
SCSS
$custom: #1e337a;
$custom-light: #686aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e337a",
  "rgb": {
    "r": 30,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 226.304,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35025,
    "c": 0.12385,
    "h": 267.2
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#1E337A
secondary
#AE9646
accent
#BF44E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E337A

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

Preview Lab → · Contrast checker → · Palette generator →

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