#1E318E#1E318E

#1E318E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.155 H 268.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#1E318E
RGBrgb(30, 49, 142)
HSLhsl(230, 65%, 34%)
HSVhsv(230, 79%, 56%)
CMYKcmyk(78.9%, 65.5%, 0%, 44.3%)
CIE-LABlab(25.03, 27.77, -53.49)
CIE-LCHlch(25.03, 60.27, 297.44°)
OKLaboklab(36.46% -0.0045 -0.1547)
OKLCHoklch(36.46% 0.155 268.3)
XYZxyz(6.5145, 4.4249, 26.0967)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E318E #8E7B1E
analogous
#1E698E #1E318E #431E8E
triadic
#1E318E #8E1E31 #318E1E
tetradic
#1E318E #8E1E69 #8E7B1E #1E8E43
square
#1E318E #8E1E69 #8E7B1E #1E8E43
split-complementary
#1E318E #8E431E #698E1E
monochromatic
#090E29 #13205B #1E318E #2942C1 #4D65D9

Accessibility & contrast

On white

11.14
#1E318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E318E
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E318E#FFFFFF#000000##FFFFFF
##1E318E1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e318e;
/* rgb */ color: rgb(30, 49, 142);
/* oklch */ color: oklch(36.5% 0.155 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d69b0',
    500: '#1e318e',
    950: '#000000',
  },
}
SCSS
$custom: #1e318e;
$custom-light: #6d69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e318e",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 229.821,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36458,
    "c": 0.15482,
    "h": 268.3
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#1E318E
secondary
#BCA94C
accent
#CC40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1E318E

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

Preview Lab → · Contrast checker → · Palette generator →

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