#1E387F#1E387F

#1E387F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.124 H 265.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#1E387F
RGBrgb(30, 56, 127)
HSLhsl(224, 62%, 31%)
HSVhsv(224, 76%, 50%)
CMYKcmyk(76.4%, 55.9%, 0%, 50.2%)
CIE-LABlab(25.67, 16.99, -43.09)
CIE-LCHlch(25.67, 46.32, 291.52°)
OKLaboklab(36.54% -0.0099 -0.1241)
OKLCHoklch(36.54% 0.125 265.4)
XYZxyz(5.7790, 4.6360, 20.6648)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E387F #7F651E
analogous
#1E687F #1E387F #351E7F
triadic
#1E387F #7F1E38 #387F1E
tetradic
#1E387F #7F1E68 #7F651E #1E7F35
square
#1E387F #7F1E68 #7F651E #1E7F35
split-complementary
#1E387F #7F351E #687F1E
monochromatic
#070C1C #12224D #1E387F #2A4EB1 #446BD3

Accessibility & contrast

On white

10.90
#1E387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1E387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E387F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E387F#FFFFFF#000000##FFFFFF
##1E387F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e387f;
/* rgb */ color: rgb(30, 56, 127);
/* oklch */ color: oklch(36.5% 0.124 265.4);
Tailwind
colors: {
  custom: {
    50: '#696ea5',
    500: '#1e387f',
    950: '#000000',
  },
}
SCSS
$custom: #1e387f;
$custom-light: #696ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e387f",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 223.918,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36538,
    "c": 0.1245,
    "h": 265.4
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#1E387F
secondary
#B29547
accent
#B943E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E387F

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

Preview Lab → · Contrast checker → · Palette generator →

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