#1E2B78#1E2B78

#1E2B78 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.132 H 270.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1E2B78
RGBrgb(30, 43, 120)
HSLhsl(231, 60%, 29%)
HSVhsv(231, 75%, 47%)
CMYKcmyk(75%, 64.2%, 0%, 52.9%)
CIE-LABlab(21.43, 23.33, -45.56)
CIE-LCHlch(21.43, 51.19, 297.12°)
OKLaboklab(33.18% 0.0003 -0.1316)
OKLCHoklch(33.18% 0.132 270.1)
XYZxyz(4.7883, 3.3593, 18.1617)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B78 #786B1E
analogous
#1E5878 #1E2B78 #3E1E78
triadic
#1E2B78 #781E2B #2B781E
tetradic
#1E2B78 #781E58 #786B1E #1E783E
square
#1E2B78 #781E58 #786B1E #1E783E
split-complementary
#1E2B78 #783E1E #58781E
monochromatic
#060918 #121947 #1E2B78 #2A3DA9 #4156CF

Accessibility & contrast

On white

12.56
#1E2B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E2B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B78
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B78#FFFFFF#000000##FFFFFF
##1E2B781.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2b78;
/* rgb */ color: rgb(30, 43, 120);
/* oklch */ color: oklch(33.2% 0.132 270.1);
Tailwind
colors: {
  custom: {
    50: '#6864a0',
    500: '#1e2b78',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b78;
$custom-light: #6864a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b78",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 231.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.13156,
    "h": 270.1
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#1E2B78
secondary
#AC9D46
accent
#CC45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1E2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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