#1E2177#1E2177

#1E2177 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.143 H 273.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#1E2177
RGBrgb(30, 33, 119)
HSLhsl(238, 60%, 29%)
HSVhsv(238, 75%, 47%)
CMYKcmyk(74.8%, 72.3%, 0%, 53.3%)
CIE-LABlab(18.78, 29.73, -49.26)
CIE-LCHlch(18.78, 57.54, 301.11°)
OKLaboklab(31.22% 0.0075 -0.1425)
OKLCHoklch(31.22% 0.143 273)
XYZxyz(4.4079, 2.6952, 17.7371)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2177 #77741E
analogous
#1E4E77 #1E2177 #481E77
triadic
#1E2177 #771E21 #21771E
tetradic
#1E2177 #771E4E #77741E #1E7748
square
#1E2177 #771E4E #77741E #1E7748
split-complementary
#1E2177 #77481E #4E771E
monochromatic
#060718 #121346 #1E2177 #2A2FA8 #4045CF

Accessibility & contrast

On white

13.64
#1E2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1E2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2177
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2177#FFFFFF#000000##FFFFFF
##1E21771.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2177;
/* rgb */ color: rgb(30, 33, 119);
/* oklch */ color: oklch(31.2% 0.143 273.0);
Tailwind
colors: {
  custom: {
    50: '#695d9f',
    500: '#1e2177',
    950: '#000000',
  },
}
SCSS
$custom: #1e2177;
$custom-light: #695d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2177",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 237.978,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31217,
    "c": 0.14266,
    "h": 273
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#1E2177
secondary
#ABA746
accent
#DE45E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1E2177

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

Preview Lab → · Contrast checker → · Palette generator →

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