#1E2773#1E2773

#1E2773 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.130 H 271.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1E2773
RGBrgb(30, 39, 115)
HSLhsl(234, 59%, 28%)
HSVhsv(234, 74%, 45%)
CMYKcmyk(73.9%, 66.1%, 0%, 54.9%)
CIE-LABlab(19.90, 24.16, -44.86)
CIE-LCHlch(19.90, 50.95, 298.31°)
OKLaboklab(31.91% 0.0036 -0.1295)
OKLCHoklch(31.91% 0.13 271.6)
XYZxyz(4.3544, 2.9644, 16.5590)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2773 #736A1E
analogous
#1E5173 #1E2773 #3F1E73
triadic
#1E2773 #731E27 #27731E
tetradic
#1E2773 #731E51 #736A1E #1E733F
square
#1E2773 #731E51 #736A1E #1E733F
split-complementary
#1E2773 #733F1E #51731E
monochromatic
#060818 #111742 #1E2773 #2B37A4 #3F4ECD

Accessibility & contrast

On white

13.18
#1E2773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E2773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2773
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2773#FFFFFF#000000##FFFFFF
##1E27731.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2773;
/* rgb */ color: rgb(30, 39, 115);
/* oklch */ color: oklch(31.9% 0.130 271.6);
Tailwind
colors: {
  custom: {
    50: '#67619c',
    500: '#1e2773',
    950: '#000000',
  },
}
SCSS
$custom: #1e2773;
$custom-light: #67619c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2773",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 233.647,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.12959,
    "h": 271.6
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#1E2773
secondary
#A79D46
accent
#D146E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2773

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

Preview Lab → · Contrast checker → · Palette generator →

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