#1E388C#1E388C

#1E388C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.143 H 266.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#1E388C
RGBrgb(30, 56, 140)
HSLhsl(226, 65%, 33%)
HSVhsv(226, 79%, 55%)
CMYKcmyk(78.6%, 60%, 0%, 45.1%)
CIE-LABlab(26.73, 22.19, -49.48)
CIE-LCHlch(26.73, 54.23, 294.15°)
OKLaboklab(37.66% -0.0092 -0.1429)
OKLCHoklch(37.66% 0.143 266.3)
XYZxyz(6.6816, 4.9971, 25.4182)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E388C #8C721E
analogous
#1E6F8C #1E388C #3B1E8C
triadic
#1E388C #8C1E38 #388C1E
tetradic
#1E388C #8C1E6F #8C721E #1E8C3B
square
#1E388C #8C1E6F #8C721E #1E8C3B
split-complementary
#1E388C #8C3B1E #6F8C1E
monochromatic
#081027 #13245A #1E388C #294CBE #4C6DD9

Accessibility & contrast

On white

10.50
#1E388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1E388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E388C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E388C#FFFFFF#000000##FFFFFF
##1E388C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1e388c;
/* rgb */ color: rgb(30, 56, 140);
/* oklch */ color: oklch(37.7% 0.143 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c6eae',
    500: '#1e388c',
    950: '#000000',
  },
}
SCSS
$custom: #1e388c;
$custom-light: #6c6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e388c",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 225.818,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.14319,
    "h": 266.3
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#1E388C
secondary
#BBA14B
accent
#C040E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1E388C

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

Preview Lab → · Contrast checker → · Palette generator →

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