#1E2E77#1E2E77

#1E2E77 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.126 H 269.1°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#1E2E77
RGBrgb(30, 46, 119)
HSLhsl(229, 60%, 29%)
HSVhsv(229, 75%, 47%)
CMYKcmyk(74.8%, 61.3%, 0%, 53.3%)
CIE-LABlab(22.16, 20.84, -43.72)
CIE-LCHlch(22.16, 48.43, 295.48°)
OKLaboklab(33.7% -0.002 -0.1261)
OKLCHoklch(33.7% 0.126 269.1)
XYZxyz(4.8410, 3.5614, 17.8815)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E77 #77671E
analogous
#1E5B77 #1E2E77 #3A1E77
triadic
#1E2E77 #771E2E #2E771E
tetradic
#1E2E77 #771E5B #77671E #1E773A
square
#1E2E77 #771E5B #77671E #1E773A
split-complementary
#1E2E77 #773A1E #5B771E
monochromatic
#060918 #121B46 #1E2E77 #2A41A8 #405ACF

Accessibility & contrast

On white

12.26
#1E2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1E2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E77
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E77#FFFFFF#000000##FFFFFF
##1E2E771.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2e77;
/* rgb */ color: rgb(30, 46, 119);
/* oklch */ color: oklch(33.7% 0.126 269.1);
Tailwind
colors: {
  custom: {
    50: '#67669f',
    500: '#1e2e77',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e77;
$custom-light: #67669f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e77",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 229.213,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.337,
    "c": 0.12615,
    "h": 269.1
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#1E2E77
secondary
#AB9946
accent
#C645E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1E2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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