#1E397E#1E397E

#1E397E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.122 H 264.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#1E397E
RGBrgb(30, 57, 126)
HSLhsl(223, 62%, 31%)
HSVhsv(223, 76%, 49%)
CMYKcmyk(76.2%, 54.8%, 0%, 50.6%)
CIE-LABlab(25.89, 15.89, -42.11)
CIE-LCHlch(25.89, 45.01, 290.67°)
OKLaboklab(36.68% -0.0109 -0.1212)
OKLCHoklch(36.68% 0.122 264.9)
XYZxyz(5.7631, 4.7080, 20.3396)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E397E #7E631E
analogous
#1E697E #1E397E #331E7E
triadic
#1E397E #7E1E39 #397E1E
tetradic
#1E397E #7E1E69 #7E631E #1E7E33
square
#1E397E #7E1E69 #7E631E #1E7E33
split-complementary
#1E397E #7E331E #697E1E
monochromatic
#060C1B #12234D #1E397E #2A4FAF #446CD2

Accessibility & contrast

On white

10.81
#1E397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1E397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E397E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E397E#FFFFFF#000000##FFFFFF
##1E397E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084280
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1e397e;
/* rgb */ color: rgb(30, 57, 126);
/* oklch */ color: oklch(36.7% 0.122 264.9);
Tailwind
colors: {
  custom: {
    50: '#686ea4',
    500: '#1e397e',
    950: '#000000',
  },
}
SCSS
$custom: #1e397e;
$custom-light: #686ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e397e",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 223.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36676,
    "c": 0.1217,
    "h": 264.9
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#1E397E
secondary
#B19347
accent
#B743E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1E397E

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

Preview Lab → · Contrast checker → · Palette generator →

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