#1E2B80#1E2B80

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

Color values

HEX#1E2B80
RGBrgb(30, 43, 128)
HSLhsl(232, 62%, 31%)
HSVhsv(232, 77%, 50%)
CMYKcmyk(76.6%, 66.4%, 0%, 49.8%)
CIE-LABlab(22.17, 26.44, -49.43)
CIE-LCHlch(22.17, 56.06, 298.14°)
OKLaboklab(33.95% 0 -0.1429)
OKLCHoklch(33.95% 0.143 270)
XYZxyz(5.2942, 3.5617, 20.8264)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B80 #80731E
analogous
#1E5C80 #1E2B80 #421E80
triadic
#1E2B80 #801E2B #2B801E
tetradic
#1E2B80 #801E5C #80731E #1E8042
square
#1E2B80 #801E5C #80731E #1E8042
split-complementary
#1E2B80 #80421E #5C801E
monochromatic
#070A1D #121A4E #1E2B80 #2A3CB2 #4558D3

Accessibility & contrast

On white

12.26
#1E2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B80
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B80#FFFFFF#000000##FFFFFF
##1E2B801.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2b80;
/* rgb */ color: rgb(30, 43, 128);
/* oklch */ color: oklch(34.0% 0.143 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a64a6',
    500: '#1e2b80',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b80;
$custom-light: #6a64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b80",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 232.041,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33952,
    "c": 0.1429,
    "h": 270
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#1E2B80
secondary
#B3A547
accent
#D043E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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