#1E2775#1E2775

#1E2775 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.132 H 271.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#1E2775
RGBrgb(30, 39, 117)
HSLhsl(234, 59%, 29%)
HSVhsv(234, 74%, 46%)
CMYKcmyk(74.4%, 66.7%, 0%, 54.1%)
CIE-LABlab(20.09, 24.94, -45.84)
CIE-LCHlch(20.09, 52.18, 298.55°)
OKLaboklab(32.11% 0.0035 -0.1324)
OKLCHoklch(32.11% 0.132 271.5)
XYZxyz(4.4707, 3.0110, 17.1717)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2775 #756C1E
analogous
#1E5375 #1E2775 #411E75
triadic
#1E2775 #751E27 #27751E
tetradic
#1E2775 #751E53 #756C1E #1E7541
square
#1E2775 #751E53 #756C1E #1E7541
split-complementary
#1E2775 #75411E #53751E
monochromatic
#060818 #121744 #1E2775 #2A37A6 #404ECE

Accessibility & contrast

On white

13.11
#1E2775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E2775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2775
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2775#FFFFFF#000000##FFFFFF
##1E27751.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2775;
/* rgb */ color: rgb(30, 39, 117);
/* oklch */ color: oklch(32.1% 0.132 271.5);
Tailwind
colors: {
  custom: {
    50: '#68619e',
    500: '#1e2775',
    950: '#000000',
  },
}
SCSS
$custom: #1e2775;
$custom-light: #68619e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2775",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 117
  },
  "hsl": {
    "h": 233.793,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32108,
    "c": 0.13245,
    "h": 271.5
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#1E2775
secondary
#A99F46
accent
#D245E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2775

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

Preview Lab → · Contrast checker → · Palette generator →

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