#1E386C#1E386C

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

Color values

HEX#1E386C
RGBrgb(30, 56, 108)
HSLhsl(220, 57%, 27%)
HSVhsv(220, 72%, 42%)
CMYKcmyk(72.2%, 48.1%, 0%, 57.6%)
CIE-LABlab(24.28, 9.32, -33.26)
CIE-LCHlch(24.28, 34.55, 285.66°)
OKLaboklab(35.03% -0.0125 -0.0952)
OKLCHoklch(35.03% 0.096 262.5)
XYZxyz(4.6554, 4.1866, 14.7472)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E386C #6C521E
analogous
#1E5F6C #1E386C #2B1E6C
triadic
#1E386C #6C1E38 #386C1E
tetradic
#1E386C #6C1E5F #6C521E #1E6C2B
square
#1E386C #6C1E5F #6C521E #1E6C2B
split-complementary
#1E386C #6C2B1E #5F6C1E
monochromatic
#070C18 #111F3C #1E386C #2B519C #3C6BC9

Accessibility & contrast

On white

11.43
#1E386C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1E386C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E386C
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E386C#FFFFFF#000000##FFFFFF
##1E386C1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#0F366B
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e386c;
/* rgb */ color: rgb(30, 56, 108);
/* oklch */ color: oklch(35.0% 0.096 262.5);
Tailwind
colors: {
  custom: {
    50: '#646e96',
    500: '#1e386c',
    950: '#000000',
  },
}
SCSS
$custom: #1e386c;
$custom-light: #646e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1e386c",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 220,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.09601,
    "h": 262.5
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#1E386C
secondary
#A08245
accent
#AD48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1E386C

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

Preview Lab → · Contrast checker → · Palette generator →

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