#1E397F#1E397F

#1E397F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.123 H 265.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1E397F
RGBrgb(30, 57, 127)
HSLhsl(223, 62%, 31%)
HSVhsv(223, 76%, 50%)
CMYKcmyk(76.4%, 55.1%, 0%, 50.2%)
CIE-LABlab(25.96, 16.29, -42.62)
CIE-LCHlch(25.96, 45.62, 290.92°)
OKLaboklab(36.76% -0.0108 -0.1227)
OKLCHoklch(36.76% 0.123 265)
XYZxyz(5.8280, 4.7339, 20.6812)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E397F #7F641E
analogous
#1E697F #1E397F #331E7F
triadic
#1E397F #7F1E39 #397F1E
tetradic
#1E397F #7F1E69 #7F641E #1E7F33
square
#1E397F #7F1E69 #7F641E #1E7F33
split-complementary
#1E397F #7F331E #697F1E
monochromatic
#070D1C #12234D #1E397F #2A4FB1 #446CD3

Accessibility & contrast

On white

10.79
#1E397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1E397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E397F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E397F#FFFFFF#000000##FFFFFF
##1E397F1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054281
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e397f;
/* rgb */ color: rgb(30, 57, 127);
/* oklch */ color: oklch(36.8% 0.123 265.0);
Tailwind
colors: {
  custom: {
    50: '#696ea5',
    500: '#1e397f',
    950: '#000000',
  },
}
SCSS
$custom: #1e397f;
$custom-light: #696ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e397f",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 223.299,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.12317,
    "h": 265
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#1E397F
secondary
#B29447
accent
#B843E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E397F

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

Preview Lab → · Contrast checker → · Palette generator →

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