#1E2E79#1E2E79

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

Color values

HEX#1E2E79
RGBrgb(30, 46, 121)
HSLhsl(229, 60%, 30%)
HSVhsv(229, 75%, 47%)
CMYKcmyk(75.2%, 62%, 0%, 52.5%)
CIE-LABlab(22.34, 21.63, -44.71)
CIE-LCHlch(22.34, 49.67, 295.81°)
OKLaboklab(33.88% -0.002 -0.129)
OKLCHoklch(33.88% 0.129 269.1)
XYZxyz(4.9624, 3.6100, 18.5207)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E79 #79691E
analogous
#1E5B79 #1E2E79 #3C1E79
triadic
#1E2E79 #791E2E #2E791E
tetradic
#1E2E79 #791E5B #79691E #1E793C
square
#1E2E79 #791E5B #79691E #1E793C
split-complementary
#1E2E79 #793C1E #5B791E
monochromatic
#060919 #121B48 #1E2E79 #2A41AA #415AD0

Accessibility & contrast

On white

12.20
#1E2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2E79
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E79#FFFFFF#000000##FFFFFF
##1E2E791.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2e79;
/* rgb */ color: rgb(30, 46, 121);
/* oklch */ color: oklch(33.9% 0.129 269.1);
Tailwind
colors: {
  custom: {
    50: '#6866a0',
    500: '#1e2e79',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e79;
$custom-light: #6866a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e79",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 229.451,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33883,
    "c": 0.12906,
    "h": 269.1
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#1E2E79
secondary
#AD9B46
accent
#C744E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1E2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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