#1E387C#1E387C

#1E387C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.120 H 265.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1E387C
RGBrgb(30, 56, 124)
HSLhsl(223, 61%, 30%)
HSVhsv(223, 76%, 49%)
CMYKcmyk(75.8%, 54.8%, 0%, 51.4%)
CIE-LABlab(25.44, 15.78, -41.58)
CIE-LCHlch(25.44, 44.47, 290.79°)
OKLaboklab(36.29% -0.0102 -0.1197)
OKLCHoklch(36.29% 0.12 265.1)
XYZxyz(5.5864, 4.5590, 19.6504)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E387C #7C621E
analogous
#1E677C #1E387C #331E7C
triadic
#1E387C #7C1E38 #387C1E
tetradic
#1E387C #7C1E67 #7C621E #1E7C33
square
#1E387C #7C1E67 #7C621E #1E7C33
split-complementary
#1E387C #7C331E #677C1E
monochromatic
#060B19 #12224B #1E387C #2A4EAD #436AD1

Accessibility & contrast

On white

10.98
#1E387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E387C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E387C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E387C#FFFFFF#000000##FFFFFF
##1E387C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e387c;
/* rgb */ color: rgb(30, 56, 124);
/* oklch */ color: oklch(36.3% 0.120 265.1);
Tailwind
colors: {
  custom: {
    50: '#686ea2',
    500: '#1e387c',
    950: '#000000',
  },
}
SCSS
$custom: #1e387c;
$custom-light: #686ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e387c",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 223.404,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36289,
    "c": 0.1201,
    "h": 265.1
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#1E387C
secondary
#AF9246
accent
#B844E4
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E387C

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

Preview Lab → · Contrast checker → · Palette generator →

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