#1E386B#1E386B

#1E386B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.094 H 262.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1E386B
RGBrgb(30, 56, 107)
HSLhsl(220, 56%, 27%)
HSVhsv(220, 72%, 42%)
CMYKcmyk(72%, 47.7%, 0%, 58%)
CIE-LABlab(24.21, 8.92, -32.73)
CIE-LCHlch(24.21, 33.92, 285.25°)
OKLaboklab(34.96% -0.0127 -0.0936)
OKLCHoklch(34.96% 0.094 262.3)
XYZxyz(4.6025, 4.1654, 14.4685)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E386B #6B511E
analogous
#1E5F6B #1E386B #2B1E6B
triadic
#1E386B #6B1E38 #386B1E
tetradic
#1E386B #6B1E5F #6B511E #1E6B2B
square
#1E386B #6B1E5F #6B511E #1E6B2B
split-complementary
#1E386B #6B2B1E #5F6B1E
monochromatic
#070D18 #111F3B #1E386B #2B519B #3B6BC8

Accessibility & contrast

On white

11.46
#1E386B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E386B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E386B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E386B#FFFFFF#000000##FFFFFF
##1E386B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3D6D
Deuteranopia (green-blind)
#10366A
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e386b;
/* rgb */ color: rgb(30, 56, 107);
/* oklch */ color: oklch(35.0% 0.094 262.3);
Tailwind
colors: {
  custom: {
    50: '#646e96',
    500: '#1e386b',
    950: '#000000',
  },
}
SCSS
$custom: #1e386b;
$custom-light: #646e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1e386b",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 219.74,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.09448,
    "h": 262.3
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#1E386B
secondary
#9F8145
accent
#AC48DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1E386B

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

Preview Lab → · Contrast checker → · Palette generator →

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