#1E2C82#1E2C82

#1E2C82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.144 H 269.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#1E2C82
RGBrgb(30, 44, 130)
HSLhsl(232, 63%, 31%)
HSVhsv(232, 77%, 51%)
CMYKcmyk(76.9%, 66.2%, 0%, 49%)
CIE-LABlab(22.61, 26.53, -49.96)
CIE-LCHlch(22.61, 56.57, 297.97°)
OKLaboklab(34.34% -0.0008 -0.1444)
OKLCHoklch(34.34% 0.144 269.7)
XYZxyz(5.4640, 3.6885, 21.5388)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C82 #82741E
analogous
#1E5E82 #1E2C82 #421E82
triadic
#1E2C82 #821E2C #2C821E
tetradic
#1E2C82 #821E5E #82741E #1E8242
square
#1E2C82 #821E5E #82741E #1E8242
split-complementary
#1E2C82 #82421E #5E821E
monochromatic
#070A1F #131B50 #1E2C82 #293DB4 #465AD4

Accessibility & contrast

On white

12.08
#1E2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C82
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C82#FFFFFF#000000##FFFFFF
##1E2C821.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2c82;
/* rgb */ color: rgb(30, 44, 130);
/* oklch */ color: oklch(34.3% 0.144 269.7);
Tailwind
colors: {
  custom: {
    50: '#6a65a7',
    500: '#1e2c82',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c82;
$custom-light: #6a65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c82",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 231.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.14444,
    "h": 269.7
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#1E2C82
secondary
#B5A647
accent
#CF42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1E2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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