#1E2980#1E2980

#1E2980 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.145 H 270.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#1E2980
RGBrgb(30, 41, 128)
HSLhsl(233, 62%, 31%)
HSVhsv(233, 77%, 50%)
CMYKcmyk(76.6%, 68%, 0%, 49.8%)
CIE-LABlab(21.65, 27.80, -50.27)
CIE-LCHlch(21.65, 57.45, 298.94°)
OKLaboklab(33.58% 0.0014 -0.1454)
OKLCHoklch(33.58% 0.145 270.5)
XYZxyz(5.2233, 3.4199, 20.8027)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2980 #80751E
analogous
#1E5A80 #1E2980 #441E80
triadic
#1E2980 #801E29 #29801E
tetradic
#1E2980 #801E5A #80751E #1E8044
square
#1E2980 #801E5A #80751E #1E8044
split-complementary
#1E2980 #80441E #5A801E
monochromatic
#07091D #12194E #1E2980 #2A39B2 #4555D3

Accessibility & contrast

On white

12.47
#1E2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2980
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2980#FFFFFF#000000##FFFFFF
##1E29801.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2980;
/* rgb */ color: rgb(30, 41, 128);
/* oklch */ color: oklch(33.6% 0.145 270.5);
Tailwind
colors: {
  custom: {
    50: '#6a63a6',
    500: '#1e2980',
    950: '#000000',
  },
}
SCSS
$custom: #1e2980;
$custom-light: #6a63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2980",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 233.265,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33576,
    "c": 0.14539,
    "h": 270.5
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#1E2980
secondary
#B3A747
accent
#D343E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2980

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

Preview Lab → · Contrast checker → · Palette generator →

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