#1E2B81#1E2B81

#1E2B81 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.144 H 270.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#1E2B81
RGBrgb(30, 43, 129)
HSLhsl(232, 62%, 31%)
HSVhsv(232, 77%, 51%)
CMYKcmyk(76.7%, 66.7%, 0%, 49.4%)
CIE-LABlab(22.26, 26.83, -49.91)
CIE-LCHlch(22.26, 56.66, 298.26°)
OKLaboklab(34.05% 0 -0.1443)
OKLCHoklch(34.05% 0.144 270)
XYZxyz(5.3604, 3.5882, 21.1747)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B81 #81741E
analogous
#1E5C81 #1E2B81 #421E81
triadic
#1E2B81 #811E2B #2B811E
tetradic
#1E2B81 #811E5C #81741E #1E8142
square
#1E2B81 #811E5C #81741E #1E8142
split-complementary
#1E2B81 #81421E #5C811E
monochromatic
#070A1E #121A4F #1E2B81 #2A3CB3 #4658D4

Accessibility & contrast

On white

12.22
#1E2B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B81
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B81#FFFFFF#000000##FFFFFF
##1E2B811.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2b81;
/* rgb */ color: rgb(30, 43, 129);
/* oklch */ color: oklch(34.1% 0.144 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a64a6',
    500: '#1e2b81',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b81;
$custom-light: #6a64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b81",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 232.121,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3405,
    "c": 0.1443,
    "h": 270
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#1E2B81
secondary
#B4A647
accent
#D042E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #1E2B81

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

Preview Lab → · Contrast checker → · Palette generator →

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