#1E2C79#1E2C79

#1E2C79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.132 H 269.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1E2C79
RGBrgb(30, 44, 121)
HSLhsl(231, 60%, 30%)
HSVhsv(231, 75%, 47%)
CMYKcmyk(75.2%, 63.6%, 0%, 52.5%)
CIE-LABlab(21.79, 23.03, -45.61)
CIE-LCHlch(21.79, 51.09, 296.79°)
OKLaboklab(33.48% -0.0005 -0.1317)
OKLCHoklch(33.48% 0.132 269.8)
XYZxyz(4.8861, 3.4574, 18.4953)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C79 #796B1E
analogous
#1E5A79 #1E2C79 #3D1E79
triadic
#1E2C79 #791E2C #2C791E
tetradic
#1E2C79 #791E5A #796B1E #1E793D
square
#1E2C79 #791E5A #796B1E #1E793D
split-complementary
#1E2C79 #793D1E #5A791E
monochromatic
#060919 #121A48 #1E2C79 #2A3EAA #4157D0

Accessibility & contrast

On white

12.41
#1E2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C79
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C79#FFFFFF#000000##FFFFFF
##1E2C791.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2c79;
/* rgb */ color: rgb(30, 44, 121);
/* oklch */ color: oklch(33.5% 0.132 269.8);
Tailwind
colors: {
  custom: {
    50: '#6865a0',
    500: '#1e2c79',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c79;
$custom-light: #6865a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c79",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 230.769,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33476,
    "c": 0.13169,
    "h": 269.8
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#1E2C79
secondary
#AD9D46
accent
#CB44E3
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1E2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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