#1E2C84#1E2C84

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

Color values

HEX#1E2C84
RGBrgb(30, 44, 132)
HSLhsl(232, 63%, 32%)
HSVhsv(232, 77%, 52%)
CMYKcmyk(77.3%, 66.7%, 0%, 48.2%)
CIE-LABlab(22.80, 27.30, -50.91)
CIE-LCHlch(22.80, 57.77, 298.21°)
OKLaboklab(34.53% -0.0009 -0.1472)
OKLCHoklch(34.53% 0.147 269.7)
XYZxyz(5.5995, 3.7427, 22.2526)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C84 #84761E
analogous
#1E5F84 #1E2C84 #431E84
triadic
#1E2C84 #841E2C #2C841E
tetradic
#1E2C84 #841E5F #84761E #1E8443
square
#1E2C84 #841E5F #84761E #1E8443
split-complementary
#1E2C84 #84431E #5F841E
monochromatic
#070B20 #131B52 #1E2C84 #293DB6 #475BD5

Accessibility & contrast

On white

12.01
#1E2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C84
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C84#FFFFFF#000000##FFFFFF
##1E2C841.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2c84;
/* rgb */ color: rgb(30, 44, 132);
/* oklch */ color: oklch(34.5% 0.147 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b65a9',
    500: '#1e2c84',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c84;
$custom-light: #6b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c84",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 231.765,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34534,
    "c": 0.14722,
    "h": 269.7
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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