#1E2D76#1E2D76

#1E2D76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.126 H 269.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1E2D76
RGBrgb(30, 45, 118)
HSLhsl(230, 59%, 29%)
HSVhsv(230, 75%, 46%)
CMYKcmyk(74.6%, 61.9%, 0%, 53.7%)
CIE-LABlab(21.80, 21.14, -43.68)
CIE-LCHlch(21.80, 48.53, 295.83°)
OKLaboklab(33.4% -0.0012 -0.126)
OKLCHoklch(33.4% 0.126 269.4)
XYZxyz(4.7427, 3.4603, 17.5540)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D76 #76671E
analogous
#1E5976 #1E2D76 #3B1E76
triadic
#1E2D76 #761E2D #2D761E
tetradic
#1E2D76 #761E59 #76671E #1E763B
square
#1E2D76 #761E59 #76671E #1E763B
split-complementary
#1E2D76 #763B1E #59761E
monochromatic
#060918 #121A45 #1E2D76 #2A40A7 #4058CE

Accessibility & contrast

On white

12.41
#1E2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1E2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D76
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D76#FFFFFF#000000##FFFFFF
##1E2D761.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2d76;
/* rgb */ color: rgb(30, 45, 118);
/* oklch */ color: oklch(33.4% 0.126 269.4);
Tailwind
colors: {
  custom: {
    50: '#67659e',
    500: '#1e2d76',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d76;
$custom-light: #67659e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d76",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 229.773,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33402,
    "c": 0.12602,
    "h": 269.4
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#1E2D76
secondary
#AA9946
accent
#C845E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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