#1E387A#1E387A

#1E387A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.117 H 264.9°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#1E387A
RGBrgb(30, 56, 122)
HSLhsl(223, 61%, 30%)
HSVhsv(223, 75%, 48%)
CMYKcmyk(75.4%, 54.1%, 0%, 52.2%)
CIE-LABlab(25.29, 14.98, -40.56)
CIE-LCHlch(25.29, 43.24, 290.27°)
OKLaboklab(36.13% -0.0104 -0.1167)
OKLCHoklch(36.13% 0.117 264.9)
XYZxyz(5.4612, 4.5089, 18.9911)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E387A #7A601E
analogous
#1E667A #1E387A #321E7A
triadic
#1E387A #7A1E38 #387A1E
tetradic
#1E387A #7A1E66 #7A601E #1E7A32
square
#1E387A #7A1E66 #7A601E #1E7A32
split-complementary
#1E387A #7A321E #667A1E
monochromatic
#060B19 #122149 #1E387A #2A4FAB #426AD0

Accessibility & contrast

On white

11.04
#1E387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E387A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E387A#FFFFFF#000000##FFFFFF
##1E387A1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e387a;
/* rgb */ color: rgb(30, 56, 122);
/* oklch */ color: oklch(36.1% 0.117 264.9);
Tailwind
colors: {
  custom: {
    50: '#676ea1',
    500: '#1e387a',
    950: '#000000',
  },
}
SCSS
$custom: #1e387a;
$custom-light: #676ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e387a",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 223.043,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36125,
    "c": 0.11714,
    "h": 264.9
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E387A

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

Preview Lab → · Contrast checker → · Palette generator →

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