#1E2880#1E2880

#1E2880 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.147 H 270.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1E2880
RGBrgb(30, 40, 128)
HSLhsl(234, 62%, 31%)
HSVhsv(234, 77%, 50%)
CMYKcmyk(76.6%, 68.8%, 0%, 49.8%)
CIE-LABlab(21.40, 28.47, -50.69)
CIE-LCHlch(21.40, 58.14, 299.32°)
OKLaboklab(33.39% 0.002 -0.1466)
OKLCHoklch(33.39% 0.147 270.8)
XYZxyz(5.1892, 3.3516, 20.7913)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2880 #80761E
analogous
#1E5980 #1E2880 #451E80
triadic
#1E2880 #801E28 #28801E
tetradic
#1E2880 #801E59 #80761E #1E8045
square
#1E2880 #801E59 #80761E #1E8045
split-complementary
#1E2880 #80451E #59801E
monochromatic
#07091D #12194E #1E2880 #2A37B2 #4554D3

Accessibility & contrast

On white

12.57
#1E2880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2880
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2880#FFFFFF#000000##FFFFFF
##1E28801.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2880;
/* rgb */ color: rgb(30, 40, 128);
/* oklch */ color: oklch(33.4% 0.147 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a62a6',
    500: '#1e2880',
    950: '#000000',
  },
}
SCSS
$custom: #1e2880;
$custom-light: #6a62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2880",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 233.878,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33392,
    "c": 0.14661,
    "h": 270.8
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#1E2880
secondary
#B3A847
accent
#D543E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #1E2880

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

Preview Lab → · Contrast checker → · Palette generator →

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