#1E2C80#1E2C80

#1E2C80 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.142 H 269.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1E2C80
RGBrgb(30, 44, 128)
HSLhsl(231, 62%, 31%)
HSVhsv(231, 77%, 50%)
CMYKcmyk(76.6%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.43, 25.76, -49.00)
CIE-LCHlch(22.43, 55.36, 297.73°)
OKLaboklab(34.14% -0.0007 -0.1416)
OKLCHoklch(34.14% 0.142 269.7)
XYZxyz(5.3310, 3.6353, 20.8386)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C80 #80721E
analogous
#1E5D80 #1E2C80 #411E80
triadic
#1E2C80 #801E2C #2C801E
tetradic
#1E2C80 #801E5D #80721E #1E8041
square
#1E2C80 #801E5D #80721E #1E8041
split-complementary
#1E2C80 #80411E #5D801E
monochromatic
#070A1D #121B4E #1E2C80 #2A3DB2 #4559D3

Accessibility & contrast

On white

12.16
#1E2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C80
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C80#FFFFFF#000000##FFFFFF
##1E2C801.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2c80;
/* rgb */ color: rgb(30, 44, 128);
/* oklch */ color: oklch(34.1% 0.142 269.7);
Tailwind
colors: {
  custom: {
    50: '#6a65a6',
    500: '#1e2c80',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c80;
$custom-light: #6a65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c80",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 231.429,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34144,
    "c": 0.14164,
    "h": 269.7
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#1E2C80
secondary
#B3A447
accent
#CE43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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