#1E2979#1E2979

#1E2979 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.136 H 270.8°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#1E2979
RGBrgb(30, 41, 121)
HSLhsl(233, 60%, 30%)
HSVhsv(233, 75%, 47%)
CMYKcmyk(75.2%, 66.1%, 0%, 52.5%)
CIE-LABlab(20.99, 25.11, -46.92)
CIE-LCHlch(20.99, 53.22, 298.15°)
OKLaboklab(32.89% 0.0018 -0.1356)
OKLCHoklch(32.89% 0.136 270.8)
XYZxyz(4.7784, 3.2419, 18.4594)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2979 #796E1E
analogous
#1E5779 #1E2979 #401E79
triadic
#1E2979 #791E29 #29791E
tetradic
#1E2979 #791E57 #796E1E #1E7940
square
#1E2979 #791E57 #796E1E #1E7940
split-complementary
#1E2979 #79401E #57791E
monochromatic
#060819 #121848 #1E2979 #2A3AAA #4153D0

Accessibility & contrast

On white

12.74
#1E2979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2979
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2979#FFFFFF#000000##FFFFFF
##1E29791.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2979;
/* rgb */ color: rgb(30, 41, 121);
/* oklch */ color: oklch(32.9% 0.136 270.8);
Tailwind
colors: {
  custom: {
    50: '#6862a0',
    500: '#1e2979',
    950: '#000000',
  },
}
SCSS
$custom: #1e2979;
$custom-light: #6862a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2979",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 232.747,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.13558,
    "h": 270.8
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#1E2979
secondary
#ADA046
accent
#D044E3
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E2979

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

Preview Lab → · Contrast checker → · Palette generator →

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