#1E2682#1E2682

#1E2682 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.152 H 271.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1E2682
RGBrgb(30, 38, 130)
HSLhsl(235, 63%, 31%)
HSVhsv(235, 77%, 51%)
CMYKcmyk(76.9%, 70.8%, 0%, 49%)
CIE-LABlab(21.11, 30.55, -52.43)
CIE-LCHlch(21.11, 60.68, 300.23°)
OKLaboklab(33.24% 0.003 -0.1517)
OKLCHoklch(33.24% 0.152 271.1)
XYZxyz(5.2564, 3.2734, 21.4696)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2682 #827A1E
analogous
#1E5882 #1E2682 #481E82
triadic
#1E2682 #821E26 #26821E
tetradic
#1E2682 #821E58 #827A1E #1E8248
square
#1E2682 #821E58 #827A1E #1E8248
split-complementary
#1E2682 #82481E #58821E
monochromatic
#07091F #131750 #1E2682 #2935B4 #4651D4

Accessibility & contrast

On white

12.69
#1E2682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2682
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2682#FFFFFF#000000##FFFFFF
##1E26821.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2682;
/* rgb */ color: rgb(30, 38, 130);
/* oklch */ color: oklch(33.2% 0.152 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b60a7',
    500: '#1e2682',
    950: '#000000',
  },
}
SCSS
$custom: #1e2682;
$custom-light: #6b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2682",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 235.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3324,
    "c": 0.15173,
    "h": 271.1
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#1E2682
secondary
#B5AC47
accent
#D842E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1E2682

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

Preview Lab → · Contrast checker → · Palette generator →

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