#1E2D77#1E2D77

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

Color values

HEX#1E2D77
RGBrgb(30, 45, 119)
HSLhsl(230, 60%, 29%)
HSVhsv(230, 75%, 47%)
CMYKcmyk(74.8%, 62.2%, 0%, 53.3%)
CIE-LABlab(21.89, 21.54, -44.18)
CIE-LCHlch(21.89, 49.15, 295.99°)
OKLaboklab(33.49% -0.0012 -0.1275)
OKLCHoklch(33.49% 0.127 269.4)
XYZxyz(4.8024, 3.4842, 17.8686)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D77 #77681E
analogous
#1E5A77 #1E2D77 #3C1E77
triadic
#1E2D77 #771E2D #2D771E
tetradic
#1E2D77 #771E5A #77681E #1E773C
square
#1E2D77 #771E5A #77681E #1E773C
split-complementary
#1E2D77 #773C1E #5A771E
monochromatic
#060918 #121B46 #1E2D77 #2A3FA8 #4058CF

Accessibility & contrast

On white

12.37
#1E2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1E2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D77
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D77#FFFFFF#000000##FFFFFF
##1E2D771.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1e2d77;
/* rgb */ color: rgb(30, 45, 119);
/* oklch */ color: oklch(33.5% 0.127 269.4);
Tailwind
colors: {
  custom: {
    50: '#68659f',
    500: '#1e2d77',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d77;
$custom-light: #68659f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d77",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 229.888,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33493,
    "c": 0.12748,
    "h": 269.4
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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