#1E387B#1E387B

#1E387B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.119 H 265.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1E387B
RGBrgb(30, 56, 123)
HSLhsl(223, 61%, 30%)
HSVhsv(223, 76%, 48%)
CMYKcmyk(75.6%, 54.5%, 0%, 51.8%)
CIE-LABlab(25.36, 15.38, -41.07)
CIE-LCHlch(25.36, 43.85, 290.53°)
OKLaboklab(36.21% -0.0103 -0.1182)
OKLCHoklch(36.21% 0.119 265)
XYZxyz(5.5235, 4.5338, 19.3191)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E387B #7B611E
analogous
#1E667B #1E387B #331E7B
triadic
#1E387B #7B1E38 #387B1E
tetradic
#1E387B #7B1E66 #7B611E #1E7B33
square
#1E387B #7B1E66 #7B611E #1E7B33
split-complementary
#1E387B #7B331E #667B1E
monochromatic
#060B19 #12224A #1E387B #2A4EAC #426AD1

Accessibility & contrast

On white

11.01
#1E387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E387B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E387B#FFFFFF#000000##FFFFFF
##1E387B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e387b;
/* rgb */ color: rgb(30, 56, 123);
/* oklch */ color: oklch(36.2% 0.119 265.0);
Tailwind
colors: {
  custom: {
    50: '#686ea2',
    500: '#1e387b',
    950: '#000000',
  },
}
SCSS
$custom: #1e387b;
$custom-light: #686ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e387b",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 223.226,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.36207,
    "c": 0.11861,
    "h": 265
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#1E387B
secondary
#AE9146
accent
#B744E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E387B

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

Preview Lab → · Contrast checker → · Palette generator →

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