#1E2277#1E2277

#1E2277 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.141 H 272.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1E2277
RGBrgb(30, 34, 119)
HSLhsl(237, 60%, 29%)
HSVhsv(237, 75%, 47%)
CMYKcmyk(74.8%, 71.4%, 0%, 53.3%)
CIE-LABlab(19.02, 29.07, -48.87)
CIE-LCHlch(19.02, 56.86, 300.75°)
OKLaboklab(31.39% 0.0068 -0.1413)
OKLCHoklch(31.39% 0.141 272.8)
XYZxyz(4.4361, 2.7515, 17.7465)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2277 #77731E
analogous
#1E4F77 #1E2277 #471E77
triadic
#1E2277 #771E22 #22771E
tetradic
#1E2277 #771E4F #77731E #1E7747
square
#1E2277 #771E4F #77731E #1E7747
split-complementary
#1E2277 #77471E #4F771E
monochromatic
#060718 #121446 #1E2277 #2A30A8 #4047CF

Accessibility & contrast

On white

13.54
#1E2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2277
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2277#FFFFFF#000000##FFFFFF
##1E22771.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e2277;
/* rgb */ color: rgb(30, 34, 119);
/* oklch */ color: oklch(31.4% 0.141 272.8);
Tailwind
colors: {
  custom: {
    50: '#695d9f',
    500: '#1e2277',
    950: '#000000',
  },
}
SCSS
$custom: #1e2277;
$custom-light: #695d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2277",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 237.303,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31391,
    "c": 0.14146,
    "h": 272.8
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#1E2277
secondary
#ABA646
accent
#DC45E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1E2277

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

Preview Lab → · Contrast checker → · Palette generator →

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