#1E317E#1E317E

#1E317E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.132 H 268.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1E317E
RGBrgb(30, 49, 126)
HSLhsl(228, 62%, 31%)
HSVhsv(228, 76%, 49%)
CMYKcmyk(76.2%, 61.1%, 0%, 50.6%)
CIE-LABlab(23.60, 21.51, -45.83)
CIE-LCHlch(23.60, 50.62, 295.14°)
OKLaboklab(34.96% -0.0043 -0.1323)
OKLCHoklch(34.96% 0.132 268.1)
XYZxyz(5.3983, 3.9784, 20.2180)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E317E #7E6B1E
analogous
#1E617E #1E317E #3B1E7E
triadic
#1E317E #7E1E31 #317E1E
tetradic
#1E317E #7E1E61 #7E6B1E #1E7E3B
square
#1E317E #7E1E61 #7E6B1E #1E7E3B
split-complementary
#1E317E #7E3B1E #617E1E
monochromatic
#060B1B #121E4D #1E317E #2A44AF #4460D2

Accessibility & contrast

On white

11.69
#1E317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E317E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E317E#FFFFFF#000000##FFFFFF
##1E317E1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e317e;
/* rgb */ color: rgb(30, 49, 126);
/* oklch */ color: oklch(35.0% 0.132 268.1);
Tailwind
colors: {
  custom: {
    50: '#6968a4',
    500: '#1e317e',
    950: '#000000',
  },
}
SCSS
$custom: #1e317e;
$custom-light: #6968a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e317e",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 228.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34957,
    "c": 0.13233,
    "h": 268.1
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#1E317E
secondary
#B19C47
accent
#C543E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E317E

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

Preview Lab → · Contrast checker → · Palette generator →

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