#1E2E78#1E2E78

#1E2E78 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.128 H 269.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1E2E78
RGBrgb(30, 46, 120)
HSLhsl(229, 60%, 29%)
HSVhsv(229, 75%, 47%)
CMYKcmyk(75%, 61.7%, 0%, 52.9%)
CIE-LABlab(22.25, 21.23, -44.22)
CIE-LCHlch(22.25, 49.05, 295.65°)
OKLaboklab(33.79% -0.002 -0.1276)
OKLCHoklch(33.79% 0.128 269.1)
XYZxyz(4.9014, 3.5856, 18.1994)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E78 #78681E
analogous
#1E5B78 #1E2E78 #3B1E78
triadic
#1E2E78 #781E2E #2E781E
tetradic
#1E2E78 #781E5B #78681E #1E783B
square
#1E2E78 #781E5B #78681E #1E783B
split-complementary
#1E2E78 #783B1E #5B781E
monochromatic
#060918 #121B47 #1E2E78 #2A41A9 #415ACF

Accessibility & contrast

On white

12.23
#1E2E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E78
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E78#FFFFFF#000000##FFFFFF
##1E2E781.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2e78;
/* rgb */ color: rgb(30, 46, 120);
/* oklch */ color: oklch(33.8% 0.128 269.1);
Tailwind
colors: {
  custom: {
    50: '#6866a0',
    500: '#1e2e78',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e78;
$custom-light: #6866a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e78",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 229.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.12761,
    "h": 269.1
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#1E2E78
secondary
#AC9A46
accent
#C745E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1E2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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