#1E177B#1E177B

#1E177B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.158 H 274.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#1E177B
RGBrgb(30, 23, 123)
HSLhsl(244, 68%, 29%)
HSVhsv(244, 81%, 48%)
CMYKcmyk(75.6%, 81.3%, 0%, 51.8%)
CIE-LABlab(17.08, 37.17, -54.63)
CIE-LCHlch(17.08, 66.08, 304.23°)
OKLaboklab(30.14% 0.012 -0.158)
OKLCHoklch(30.14% 0.158 274.3)
XYZxyz(4.4158, 2.3184, 18.9498)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E177B #747B17
analogous
#17427B #1E177B #50177B
triadic
#1E177B #7B1E17 #177B1E
tetradic
#1E177B #7B1742 #747B17 #177B50
square
#1E177B #7B1742 #747B17 #177B50
split-complementary
#1E177B #7B5017 #427B17
monochromatic
#06051A #110D47 #1E177B #2B21AF #3F33D9

Accessibility & contrast

On white

14.35
#1E177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E177B
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E177B#FFFFFF#000000##FFFFFF
##1E177B1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e177b;
/* rgb */ color: rgb(30, 23, 123);
/* oklch */ color: oklch(30.1% 0.158 274.3);
Tailwind
colors: {
  custom: {
    50: '#6b57a2',
    500: '#1e177b',
    950: '#000000',
  },
}
SCSS
$custom: #1e177b;
$custom-light: #6b57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e177b",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 244.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3014,
    "c": 0.15849,
    "h": 274.3
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#1E177B
secondary
#A8B03E
accent
#EB3CDF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E177B

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

Preview Lab → · Contrast checker → · Palette generator →

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