#1E2A77#1E2A77

#1E2A77 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.131 H 270.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1E2A77
RGBrgb(30, 42, 119)
HSLhsl(232, 60%, 29%)
HSVhsv(232, 75%, 47%)
CMYKcmyk(74.8%, 64.7%, 0%, 53.3%)
CIE-LABlab(21.07, 23.64, -45.51)
CIE-LCHlch(21.07, 51.28, 297.45°)
OKLaboklab(32.89% 0.0011 -0.1314)
OKLCHoklch(32.89% 0.131 270.5)
XYZxyz(4.6920, 3.2634, 17.8318)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A77 #776B1E
analogous
#1E5777 #1E2A77 #3F1E77
triadic
#1E2A77 #771E2A #2A771E
tetradic
#1E2A77 #771E57 #776B1E #1E773F
square
#1E2A77 #771E57 #776B1E #1E773F
split-complementary
#1E2A77 #773F1E #57771E
monochromatic
#060918 #121946 #1E2A77 #2A3BA8 #4054CF

Accessibility & contrast

On white

12.71
#1E2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E2A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A77
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A77#FFFFFF#000000##FFFFFF
##1E2A771.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e2a77;
/* rgb */ color: rgb(30, 42, 119);
/* oklch */ color: oklch(32.9% 0.131 270.5);
Tailwind
colors: {
  custom: {
    50: '#68639f',
    500: '#1e2a77',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a77;
$custom-light: #68639f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a77",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 231.91,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32888,
    "c": 0.13142,
    "h": 270.5
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#1E2A77
secondary
#AB9D46
accent
#CE45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1E2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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