#1E317A#1E317A

#1E317A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.127 H 268.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#1E317A
RGBrgb(30, 49, 122)
HSLhsl(228, 61%, 30%)
HSVhsv(228, 75%, 48%)
CMYKcmyk(75.4%, 59.8%, 0%, 52.2%)
CIE-LABlab(23.26, 19.92, -43.85)
CIE-LCHlch(23.26, 48.16, 294.43°)
OKLaboklab(34.6% -0.0044 -0.1264)
OKLCHoklch(34.6% 0.127 268)
XYZxyz(5.1454, 3.8772, 18.8858)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E317A #7A671E
analogous
#1E5F7A #1E317A #391E7A
triadic
#1E317A #7A1E31 #317A1E
tetradic
#1E317A #7A1E5F #7A671E #1E7A39
square
#1E317A #7A1E5F #7A671E #1E7A39
split-complementary
#1E317A #7A391E #5F7A1E
monochromatic
#060A19 #121D49 #1E317A #2A45AB #425FD0

Accessibility & contrast

On white

11.83
#1E317A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E317A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E317A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E317A#FFFFFF#000000##FFFFFF
##1E317A1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e317a;
/* rgb */ color: rgb(30, 49, 122);
/* oklch */ color: oklch(34.6% 0.127 268.0);
Tailwind
colors: {
  custom: {
    50: '#6868a1',
    500: '#1e317a',
    950: '#000000',
  },
}
SCSS
$custom: #1e317a;
$custom-light: #6868a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e317a",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 227.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.12653,
    "h": 268
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#1E317A
secondary
#AE9846
accent
#C344E4
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E317A

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

Preview Lab → · Contrast checker → · Palette generator →

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