#1E2B79#1E2B79

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

Color values

HEX#1E2B79
RGBrgb(30, 43, 121)
HSLhsl(231, 60%, 30%)
HSVhsv(231, 75%, 47%)
CMYKcmyk(75.2%, 64.5%, 0%, 52.5%)
CIE-LABlab(21.52, 23.72, -46.05)
CIE-LCHlch(21.52, 51.80, 297.26°)
OKLaboklab(33.28% 0.0003 -0.133)
OKLCHoklch(33.28% 0.133 270.1)
XYZxyz(4.8493, 3.3838, 18.4830)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B79 #796C1E
analogous
#1E5879 #1E2B79 #3F1E79
triadic
#1E2B79 #791E2B #2B791E
tetradic
#1E2B79 #791E58 #796C1E #1E793F
square
#1E2B79 #791E58 #796C1E #1E793F
split-complementary
#1E2B79 #793F1E #58791E
monochromatic
#060919 #121A48 #1E2B79 #2A3CAA #4156D0

Accessibility & contrast

On white

12.52
#1E2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B79
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B79#FFFFFF#000000##FFFFFF
##1E2B791.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2b79;
/* rgb */ color: rgb(30, 43, 121);
/* oklch */ color: oklch(33.3% 0.133 270.1);
Tailwind
colors: {
  custom: {
    50: '#6864a0',
    500: '#1e2b79',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b79;
$custom-light: #6864a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b79",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 231.429,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33276,
    "c": 0.133,
    "h": 270.1
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#1E2B79
secondary
#AD9E46
accent
#CD44E3
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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