#1E318B#1E318B

#1E318B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.151 H 268.3°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1E318B
RGBrgb(30, 49, 139)
HSLhsl(230, 64%, 33%)
HSVhsv(230, 78%, 55%)
CMYKcmyk(78.4%, 64.7%, 0%, 45.5%)
CIE-LABlab(24.75, 26.61, -52.08)
CIE-LCHlch(24.75, 58.49, 297.06°)
OKLaboklab(36.17% -0.0044 -0.1506)
OKLCHoklch(36.17% 0.151 268.3)
XYZxyz(6.2923, 4.3360, 24.9264)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E318B #8B781E
analogous
#1E678B #1E318B #411E8B
triadic
#1E318B #8B1E31 #318B1E
tetradic
#1E318B #8B1E67 #8B781E #1E8B41
square
#1E318B #8B1E67 #8B781E #1E8B41
split-complementary
#1E318B #8B411E #678B1E
monochromatic
#080E26 #131F59 #1E318B #2943BD #4B64D8

Accessibility & contrast

On white

11.25
#1E318B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E318B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E318B#FFFFFF#000000##FFFFFF
##1E318B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e318b;
/* rgb */ color: rgb(30, 49, 139);
/* oklch */ color: oklch(36.2% 0.151 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c69ae',
    500: '#1e318b',
    950: '#000000',
  },
}
SCSS
$custom: #1e318b;
$custom-light: #6c69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e318b",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 229.541,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36169,
    "c": 0.15068,
    "h": 268.3
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#1E318B
secondary
#BBA74A
accent
#CA40E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1E318B

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

Preview Lab → · Contrast checker → · Palette generator →

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