#1E388A#1E388A

#1E388A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.140 H 266.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#1E388A
RGBrgb(30, 56, 138)
HSLhsl(226, 64%, 33%)
HSVhsv(226, 78%, 54%)
CMYKcmyk(78.3%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.56, 21.40, -48.51)
CIE-LCHlch(26.56, 53.02, 293.80°)
OKLaboklab(37.49% -0.0093 -0.14)
OKLCHoklch(37.49% 0.14 266.2)
XYZxyz(6.5354, 4.9386, 24.6486)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E388A #8A701E
analogous
#1E6E8A #1E388A #3A1E8A
triadic
#1E388A #8A1E38 #388A1E
tetradic
#1E388A #8A1E6E #8A701E #1E8A3A
square
#1E388A #8A1E6E #8A701E #1E8A3A
split-complementary
#1E388A #8A3A1E #6E8A1E
monochromatic
#080F25 #132458 #1E388A #294CBC #4B6DD8

Accessibility & contrast

On white

10.56
#1E388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1E388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E388A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E388A#FFFFFF#000000##FFFFFF
##1E388A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e388a;
/* rgb */ color: rgb(30, 56, 138);
/* oklch */ color: oklch(37.5% 0.140 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ead',
    500: '#1e388a',
    950: '#000000',
  },
}
SCSS
$custom: #1e388a;
$custom-light: #6c6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1e388a",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 225.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.14036,
    "h": 266.2
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#1E388A
secondary
#BA9F4A
accent
#BF41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1E388A

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

Preview Lab → · Contrast checker → · Palette generator →

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