#1E2D80#1E2D80

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

Color values

HEX#1E2D80
RGBrgb(30, 45, 128)
HSLhsl(231, 62%, 31%)
HSVhsv(231, 77%, 50%)
CMYKcmyk(76.6%, 64.8%, 0%, 49.8%)
CIE-LABlab(22.69, 25.07, -48.57)
CIE-LCHlch(22.69, 54.66, 297.30°)
OKLaboklab(34.34% -0.0014 -0.1404)
OKLCHoklch(34.34% 0.14 269.4)
XYZxyz(5.3687, 3.7107, 20.8512)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D80 #80711E
analogous
#1E5E80 #1E2D80 #401E80
triadic
#1E2D80 #801E2D #2D801E
tetradic
#1E2D80 #801E5E #80711E #1E8040
square
#1E2D80 #801E5E #80711E #1E8040
split-complementary
#1E2D80 #80401E #5E801E
monochromatic
#070A1D #121C4E #1E2D80 #2A3EB2 #455BD3

Accessibility & contrast

On white

12.05
#1E2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D80
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D80#FFFFFF#000000##FFFFFF
##1E2D801.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2d80;
/* rgb */ color: rgb(30, 45, 128);
/* oklch */ color: oklch(34.3% 0.140 269.4);
Tailwind
colors: {
  custom: {
    50: '#6a65a6',
    500: '#1e2d80',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d80;
$custom-light: #6a65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d80",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 230.816,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.14038,
    "h": 269.4
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#1E2D80
secondary
#B3A347
accent
#CC43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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