#1E1674#1E1674

#1E1674 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.151 H 275.4°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#1E1674
RGBrgb(30, 22, 116)
HSLhsl(245, 68%, 27%)
HSVhsv(245, 81%, 45%)
CMYKcmyk(74.1%, 81%, 0%, 54.5%)
CIE-LABlab(16.06, 35.36, -51.83)
CIE-LCHlch(16.06, 62.74, 304.31°)
OKLaboklab(29.18% 0.0143 -0.1498)
OKLCHoklch(29.18% 0.151 275.4)
XYZxyz(3.9737, 2.1104, 16.7175)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1674 #6C7416
analogous
#163D74 #1E1674 #4D1674
triadic
#1E1674 #741E16 #16741E
tetradic
#1E1674 #74163D #6C7416 #16744D
square
#1E1674 #74163D #6C7416 #16744D
split-complementary
#1E1674 #744D16 #3D7416
monochromatic
#07051A #110C41 #1E1674 #2B20A7 #3C2DD7

Accessibility & contrast

On white

14.77
#1E1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1674
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1674#FFFFFF#000000##FFFFFF
##1E16741.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1674;
/* rgb */ color: rgb(30, 22, 116);
/* oklch */ color: oklch(29.2% 0.151 275.4);
Tailwind
colors: {
  custom: {
    50: '#69559d',
    500: '#1e1674',
    950: '#000000',
  },
}
SCSS
$custom: #1e1674;
$custom-light: #69559d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1674",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 245.106,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29182,
    "c": 0.15053,
    "h": 275.4
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#1E1674
secondary
#A0AA3C
accent
#EB3DDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1674

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

Preview Lab → · Contrast checker → · Palette generator →

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