#1E2D79#1E2D79

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

Color values

HEX#1E2D79
RGBrgb(30, 45, 121)
HSLhsl(230, 60%, 30%)
HSVhsv(230, 75%, 47%)
CMYKcmyk(75.2%, 62.8%, 0%, 52.5%)
CIE-LABlab(22.06, 22.33, -45.16)
CIE-LCHlch(22.06, 50.38, 296.31°)
OKLaboklab(33.68% -0.0012 -0.1304)
OKLCHoklch(33.68% 0.13 269.5)
XYZxyz(4.9238, 3.5328, 18.5078)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D79 #796A1E
analogous
#1E5B79 #1E2D79 #3D1E79
triadic
#1E2D79 #791E2D #2D791E
tetradic
#1E2D79 #791E5B #796A1E #1E793D
square
#1E2D79 #791E5B #796A1E #1E793D
split-complementary
#1E2D79 #793D1E #5B791E
monochromatic
#060919 #121B48 #1E2D79 #2A3FAA #4159D0

Accessibility & contrast

On white

12.31
#1E2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D79
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D79#FFFFFF#000000##FFFFFF
##1E2D791.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2d79;
/* rgb */ color: rgb(30, 45, 121);
/* oklch */ color: oklch(33.7% 0.130 269.5);
Tailwind
colors: {
  custom: {
    50: '#6865a0',
    500: '#1e2d79',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d79;
$custom-light: #6865a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d79",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 230.11,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33678,
    "c": 0.13038,
    "h": 269.5
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#1E2D79
secondary
#AD9C46
accent
#C944E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1E2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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