#1E2674#1E2674

#1E2674 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.132 H 271.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1E2674
RGBrgb(30, 38, 116)
HSLhsl(234, 59%, 29%)
HSVhsv(234, 74%, 45%)
CMYKcmyk(74.1%, 67.2%, 0%, 54.5%)
CIE-LABlab(19.73, 25.24, -45.78)
CIE-LCHlch(19.73, 52.27, 298.87°)
OKLaboklab(31.82% 0.0043 -0.1322)
OKLCHoklch(31.82% 0.132 271.9)
XYZxyz(4.3799, 2.9228, 16.8529)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2674 #746C1E
analogous
#1E5174 #1E2674 #411E74
triadic
#1E2674 #741E26 #26741E
tetradic
#1E2674 #741E51 #746C1E #1E7441
square
#1E2674 #741E51 #746C1E #1E7441
split-complementary
#1E2674 #74411E #51741E
monochromatic
#060818 #111643 #1E2674 #2B36A5 #3F4CCD

Accessibility & contrast

On white

13.25
#1E2674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E2674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2674
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2674#FFFFFF#000000##FFFFFF
##1E26741.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2674;
/* rgb */ color: rgb(30, 38, 116);
/* oklch */ color: oklch(31.8% 0.132 271.9);
Tailwind
colors: {
  custom: {
    50: '#67609d',
    500: '#1e2674',
    950: '#000000',
  },
}
SCSS
$custom: #1e2674;
$custom-light: #67609d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2674",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 234.419,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.13231,
    "h": 271.9
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#1E2674
secondary
#A89F46
accent
#D446E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2674

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

Preview Lab → · Contrast checker → · Palette generator →

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