#1E2680#1E2680

#1E2680 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.149 H 271.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#1E2680
RGBrgb(30, 38, 128)
HSLhsl(235, 62%, 31%)
HSVhsv(235, 77%, 50%)
CMYKcmyk(76.6%, 70.3%, 0%, 49.8%)
CIE-LABlab(20.91, 29.80, -51.50)
CIE-LCHlch(20.91, 59.50, 300.06°)
OKLaboklab(33.03% 0.0032 -0.149)
OKLCHoklch(33.03% 0.149 271.2)
XYZxyz(5.1235, 3.2202, 20.7694)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2680 #80781E
analogous
#1E5780 #1E2680 #471E80
triadic
#1E2680 #801E26 #26801E
tetradic
#1E2680 #801E57 #80781E #1E8047
square
#1E2680 #801E57 #80781E #1E8047
split-complementary
#1E2680 #80471E #57801E
monochromatic
#07091D #12174E #1E2680 #2A35B2 #4551D3

Accessibility & contrast

On white

12.77
#1E2680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E2680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2680
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2680#FFFFFF#000000##FFFFFF
##1E26801.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2680;
/* rgb */ color: rgb(30, 38, 128);
/* oklch */ color: oklch(33.0% 0.149 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b60a6',
    500: '#1e2680',
    950: '#000000',
  },
}
SCSS
$custom: #1e2680;
$custom-light: #6b60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2680",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 235.102,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33032,
    "c": 0.14902,
    "h": 271.2
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#1E2680
secondary
#B3AA47
accent
#D843E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #1E2680

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

Preview Lab → · Contrast checker → · Palette generator →

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