#1E2D81#1E2D81

#1E2D81 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.142 H 269.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1E2D81
RGBrgb(30, 45, 129)
HSLhsl(231, 62%, 31%)
HSVhsv(231, 77%, 51%)
CMYKcmyk(76.7%, 65.1%, 0%, 49.4%)
CIE-LABlab(22.78, 25.46, -49.05)
CIE-LCHlch(22.78, 55.27, 297.43°)
OKLaboklab(34.43% -0.0014 -0.1418)
OKLCHoklch(34.43% 0.142 269.4)
XYZxyz(5.4349, 3.7372, 21.1995)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D81 #81721E
analogous
#1E5E81 #1E2D81 #401E81
triadic
#1E2D81 #811E2D #2D811E
tetradic
#1E2D81 #811E5E #81721E #1E8140
square
#1E2D81 #811E5E #81721E #1E8140
split-complementary
#1E2D81 #81401E #5E811E
monochromatic
#070A1E #121C4F #1E2D81 #2A3EB3 #465BD4

Accessibility & contrast

On white

12.02
#1E2D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D81
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D81#FFFFFF#000000##FFFFFF
##1E2D811.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2d81;
/* rgb */ color: rgb(30, 45, 129);
/* oklch */ color: oklch(34.4% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#6a65a6',
    500: '#1e2d81',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d81;
$custom-light: #6a65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d81",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 230.909,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34434,
    "c": 0.14178,
    "h": 269.4
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#1E2D81
secondary
#B4A347
accent
#CD42E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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