#1E1976#1E1976

#1E1976 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.150 H 274.7°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1E1976
RGBrgb(30, 25, 118)
HSLhsl(243, 65%, 28%)
HSVhsv(243, 79%, 46%)
CMYKcmyk(74.6%, 78.8%, 0%, 53.7%)
CIE-LABlab(16.89, 34.34, -51.74)
CIE-LCHlch(16.89, 62.10, 303.57°)
OKLaboklab(29.84% 0.0123 -0.1496)
OKLCHoklch(29.84% 0.15 274.7)
XYZxyz(4.1520, 2.2789, 17.3571)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1976 #717619
analogous
#194276 #1E1976 #4C1976
triadic
#1E1976 #761E19 #19761E
tetradic
#1E1976 #761942 #717619 #19764C
square
#1E1976 #761942 #717619 #19764C
split-complementary
#1E1976 #764C19 #427619
monochromatic
#060519 #110E43 #1E1976 #2B24A8 #3E35D4

Accessibility & contrast

On white

14.43
#1E1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1976
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1976#FFFFFF#000000##FFFFFF
##1E19761.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1976;
/* rgb */ color: rgb(30, 25, 118);
/* oklch */ color: oklch(29.8% 0.150 274.7);
Tailwind
colors: {
  custom: {
    50: '#69579f',
    500: '#1e1976',
    950: '#000000',
  },
}
SCSS
$custom: #1e1976;
$custom-light: #69579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1976",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 243.226,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29835,
    "c": 0.15014,
    "h": 274.7
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#1E1976
secondary
#A5AB40
accent
#E840DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1976

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

Preview Lab → · Contrast checker → · Palette generator →

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