#1E388D#1E388D

#1E388D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.145 H 266.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#1E388D
RGBrgb(30, 56, 141)
HSLhsl(226, 65%, 34%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(78.7%, 60.3%, 0%, 44.7%)
CIE-LABlab(26.81, 22.59, -49.96)
CIE-LCHlch(26.81, 54.83, 294.33°)
OKLaboklab(37.75% -0.0092 -0.1443)
OKLCHoklch(37.75% 0.145 266.4)
XYZxyz(6.7556, 5.0267, 25.8083)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E388D #8D731E
analogous
#1E6F8D #1E388D #3B1E8D
triadic
#1E388D #8D1E38 #388D1E
tetradic
#1E388D #8D1E6F #8D731E #1E8D3B
square
#1E388D #8D1E6F #8D731E #1E8D3B
split-complementary
#1E388D #8D3B1E #6F8D1E
monochromatic
#091028 #13245B #1E388D #294CBF #4C6DD9

Accessibility & contrast

On white

10.47
#1E388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1E388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E388D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E388D#FFFFFF#000000##FFFFFF
##1E388D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e388d;
/* rgb */ color: rgb(30, 56, 141);
/* oklch */ color: oklch(37.8% 0.145 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c6eaf',
    500: '#1e388d',
    950: '#000000',
  },
}
SCSS
$custom: #1e388d;
$custom-light: #6c6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e388d",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 225.946,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37752,
    "c": 0.1446,
    "h": 266.4
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#1E388D
secondary
#BCA14B
accent
#C140E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E388D

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

Preview Lab → · Contrast checker → · Palette generator →

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