#1E388F#1E388F

#1E388F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.147 H 266.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#1E388F
RGBrgb(30, 56, 143)
HSLhsl(226, 65%, 34%)
HSVhsv(226, 79%, 56%)
CMYKcmyk(79%, 60.8%, 0%, 43.9%)
CIE-LABlab(26.98, 23.38, -50.92)
CIE-LCHlch(26.98, 56.03, 294.66°)
OKLaboklab(37.93% -0.0091 -0.1471)
OKLCHoklch(37.93% 0.147 266.5)
XYZxyz(6.9058, 5.0868, 26.5992)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E388F #8F751E
analogous
#1E718F #1E388F #3D1E8F
triadic
#1E388F #8F1E38 #388F1E
tetradic
#1E388F #8F1E71 #8F751E #1E8F3D
square
#1E388F #8F1E71 #8F751E #1E8F3D
split-complementary
#1E388F #8F3D1E #718F1E
monochromatic
#09102A #13245C #1E388F #294CC2 #4E6EDA

Accessibility & contrast

On white

10.41
#1E388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1E388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E388F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E388F#FFFFFF#000000##FFFFFF
##1E388F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1e388f;
/* rgb */ color: rgb(30, 56, 143);
/* oklch */ color: oklch(37.9% 0.147 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d6eb1',
    500: '#1e388f',
    950: '#000000',
  },
}
SCSS
$custom: #1e388f;
$custom-light: #6d6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e388f",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 226.195,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37932,
    "c": 0.1474,
    "h": 266.5
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#1E388F
secondary
#BCA34C
accent
#C140E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1E388F

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

Preview Lab → · Contrast checker → · Palette generator →

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