#1E1E77#1E1E77

#1E1E77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.146 H 273.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#1E1E77
RGBrgb(30, 30, 119)
HSLhsl(240, 60%, 29%)
HSVhsv(240, 75%, 47%)
CMYKcmyk(74.8%, 74.8%, 0%, 53.3%)
CIE-LABlab(18.08, 31.65, -50.41)
CIE-LCHlch(18.08, 59.53, 302.12°)
OKLaboklab(30.72% 0.0093 -0.1458)
OKLCHoklch(30.72% 0.146 273.6)
XYZxyz(4.3284, 2.5360, 17.7106)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E77 #77771E
analogous
#1E4B77 #1E1E77 #4B1E77
triadic
#1E1E77 #771E1E #1E771E
tetradic
#1E1E77 #771E4B #77771E #1E774B
square
#1E1E77 #771E4B #77771E #1E774B
split-complementary
#1E1E77 #774B1E #4B771E
monochromatic
#060618 #121246 #1E1E77 #2A2AA8 #4040CF

Accessibility & contrast

On white

13.93
#1E1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1E1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E77
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E77#FFFFFF#000000##FFFFFF
##1E1E771.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1e77;
/* rgb */ color: rgb(30, 30, 119);
/* oklch */ color: oklch(30.7% 0.146 273.6);
Tailwind
colors: {
  custom: {
    50: '#695b9f',
    500: '#1e1e77',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e77;
$custom-light: #695b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e77",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 240,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30716,
    "c": 0.14611,
    "h": 273.6
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#1E1E77
secondary
#ABAB46
accent
#E345E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1E1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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