#1E318C#1E318C

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

Color values

HEX#1E318C
RGBrgb(30, 49, 140)
HSLhsl(230, 65%, 33%)
HSVhsv(230, 79%, 55%)
CMYKcmyk(78.6%, 65%, 0%, 45.1%)
CIE-LABlab(24.84, 27.00, -52.56)
CIE-LCHlch(24.84, 59.08, 297.19°)
OKLaboklab(36.27% -0.0044 -0.152)
OKLCHoklch(36.27% 0.152 268.3)
XYZxyz(6.3657, 4.3654, 25.3130)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E318C #8C791E
analogous
#1E688C #1E318C #421E8C
triadic
#1E318C #8C1E31 #318C1E
tetradic
#1E318C #8C1E68 #8C791E #1E8C42
square
#1E318C #8C1E68 #8C791E #1E8C42
split-complementary
#1E318C #8C421E #688C1E
monochromatic
#080E27 #131F5A #1E318C #2943BE #4C64D9

Accessibility & contrast

On white

11.21
#1E318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E318C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E318C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E318C#FFFFFF#000000##FFFFFF
##1E318C1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e318c;
/* rgb */ color: rgb(30, 49, 140);
/* oklch */ color: oklch(36.3% 0.152 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d69ae',
    500: '#1e318c',
    950: '#000000',
  },
}
SCSS
$custom: #1e318c;
$custom-light: #6d69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e318c",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 229.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36265,
    "c": 0.15206,
    "h": 268.3
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#1E318C
secondary
#BBA84B
accent
#CB40E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E318C

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

Preview Lab → · Contrast checker → · Palette generator →

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