#1E3181#1E3181

#1E3181 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.137 H 268.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#1E3181
RGBrgb(30, 49, 129)
HSLhsl(228, 62%, 31%)
HSVhsv(228, 77%, 51%)
CMYKcmyk(76.7%, 62%, 0%, 49.4%)
CIE-LABlab(23.86, 22.69, -47.29)
CIE-LCHlch(23.86, 52.46, 295.63°)
OKLaboklab(35.23% -0.0043 -0.1366)
OKLCHoklch(35.23% 0.137 268.2)
XYZxyz(5.5948, 4.0570, 21.2528)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3181 #816E1E
analogous
#1E6281 #1E3181 #3C1E81
triadic
#1E3181 #811E31 #31811E
tetradic
#1E3181 #811E62 #816E1E #1E813C
square
#1E3181 #811E62 #816E1E #1E813C
split-complementary
#1E3181 #813C1E #62811E
monochromatic
#070B1E #121E4F #1E3181 #2A44B3 #4661D4

Accessibility & contrast

On white

11.59
#1E3181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E3181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3181
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3181#FFFFFF#000000##FFFFFF
##1E31811.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e3181;
/* rgb */ color: rgb(30, 49, 129);
/* oklch */ color: oklch(35.2% 0.137 268.2);
Tailwind
colors: {
  custom: {
    50: '#6a68a6',
    500: '#1e3181',
    950: '#000000',
  },
}
SCSS
$custom: #1e3181;
$custom-light: #6a68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3181",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 228.485,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35231,
    "c": 0.13664,
    "h": 268.2
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#1E3181
secondary
#B49F47
accent
#C642E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1E3181

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

Preview Lab → · Contrast checker → · Palette generator →

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