#1E31B3#1E31B3

#1E31B3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.2% C 0.203 H 267.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1E31B3
RGBrgb(30, 49, 179)
HSLhsl(232, 71%, 41%)
HSVhsv(232, 83%, 70%)
CMYKcmyk(83.2%, 72.6%, 0%, 29.8%)
CIE-LABlab(28.71, 41.48, -69.91)
CIE-LCHlch(28.71, 81.29, 300.68°)
OKLaboklab(40.24% -0.0075 -0.2026)
OKLCHoklch(40.24% 0.203 267.9)
XYZxyz(9.7676, 5.7261, 43.2295)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E31B3 #B3A01E
analogous
#1E7BB3 #1E31B3 #551EB3
triadic
#1E31B3 #B31E31 #31B31E
tetradic
#1E31B3 #B31E7B #B3A01E #1EB355
square
#1E31B3 #B31E7B #B3A01E #1EB355
split-complementary
#1E31B3 #B3551E #7BB31E
monochromatic
#0C144A #15237F #1E31B3 #3247DD #6676E5

Accessibility & contrast

On white

9.79
#1E31B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1E31B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E31B3
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E31B3#FFFFFF#000000##FFFFFF
##1E31B31.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e31b3;
/* rgb */ color: rgb(30, 49, 179);
/* oklch */ color: oklch(40.2% 0.203 267.9);
Tailwind
colors: {
  custom: {
    50: '#776acb',
    500: '#1e31b3',
    950: '#000000',
  },
}
SCSS
$custom: #1e31b3;
$custom-light: #776acb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e31b3",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 232.349,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40242,
    "c": 0.20276,
    "h": 267.9
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#1E31B3
secondary
#CBBD62
accent
#D73AEE
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #1E31B3

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

Preview Lab → · Contrast checker → · Palette generator →

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