#1E2D78#1E2D78

#1E2D78 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.129 H 269.5°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#1E2D78
RGBrgb(30, 45, 120)
HSLhsl(230, 60%, 29%)
HSVhsv(230, 75%, 47%)
CMYKcmyk(75%, 62.5%, 0%, 52.9%)
CIE-LABlab(21.97, 21.93, -44.67)
CIE-LCHlch(21.97, 49.76, 296.15°)
OKLaboklab(33.59% -0.0012 -0.1289)
OKLCHoklch(33.59% 0.129 269.5)
XYZxyz(4.8628, 3.5084, 18.1866)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D78 #78691E
analogous
#1E5A78 #1E2D78 #3C1E78
triadic
#1E2D78 #781E2D #2D781E
tetradic
#1E2D78 #781E5A #78691E #1E783C
square
#1E2D78 #781E5A #78691E #1E783C
split-complementary
#1E2D78 #783C1E #5A781E
monochromatic
#060918 #121B47 #1E2D78 #2A3FA9 #4159CF

Accessibility & contrast

On white

12.34
#1E2D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D78
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D78#FFFFFF#000000##FFFFFF
##1E2D781.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2d78;
/* rgb */ color: rgb(30, 45, 120);
/* oklch */ color: oklch(33.6% 0.129 269.5);
Tailwind
colors: {
  custom: {
    50: '#6865a0',
    500: '#1e2d78',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d78;
$custom-light: #6865a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d78",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 230,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33586,
    "c": 0.12894,
    "h": 269.5
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#1E2D78
secondary
#AC9B46
accent
#C945E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1E2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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