#1E2C77#1E2C77

#1E2C77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.129 H 269.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1E2C77
RGBrgb(30, 44, 119)
HSLhsl(231, 60%, 29%)
HSVhsv(231, 75%, 47%)
CMYKcmyk(74.8%, 63%, 0%, 53.3%)
CIE-LABlab(21.61, 22.24, -44.62)
CIE-LCHlch(21.61, 49.86, 296.49°)
OKLaboklab(33.29% -0.0004 -0.1288)
OKLCHoklch(33.29% 0.129 269.8)
XYZxyz(4.7647, 3.4088, 17.8560)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C77 #77691E
analogous
#1E5977 #1E2C77 #3D1E77
triadic
#1E2C77 #771E2C #2C771E
tetradic
#1E2C77 #771E59 #77691E #1E773D
square
#1E2C77 #771E59 #77691E #1E773D
split-complementary
#1E2C77 #773D1E #59771E
monochromatic
#060918 #121A46 #1E2C77 #2A3EA8 #4057CF

Accessibility & contrast

On white

12.49
#1E2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1E2C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C77
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C77#FFFFFF#000000##FFFFFF
##1E2C771.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2c77;
/* rgb */ color: rgb(30, 44, 119);
/* oklch */ color: oklch(33.3% 0.129 269.8);
Tailwind
colors: {
  custom: {
    50: '#68659f',
    500: '#1e2c77',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c77;
$custom-light: #68659f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c77",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 230.562,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33289,
    "c": 0.1288,
    "h": 269.8
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#1E2C77
secondary
#AB9B46
accent
#CA45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1E2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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