#1E479C#1E479C

#1E479C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.146 H 262.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1E479C
RGBrgb(30, 71, 156)
HSLhsl(220, 68%, 36%)
HSVhsv(220, 81%, 61%)
CMYKcmyk(80.8%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.22, 18.25, -50.35)
CIE-LCHlch(32.22, 53.55, 289.93°)
OKLaboklab(42.2% -0.019 -0.1452)
OKLCHoklch(42.2% 0.146 262.5)
XYZxyz(8.7873, 7.1818, 32.3691)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E479C #9C731E
analogous
#1E869C #1E479C #341E9C
triadic
#1E479C #9C1E47 #479C1E
tetradic
#1E479C #9C1E86 #9C731E #1E9C34
square
#1E479C #9C1E86 #9C731E #1E9C34
split-complementary
#1E479C #9C341E #869C1E
monochromatic
#0A1835 #143069 #1E479C #285ECF #5682DE

Accessibility & contrast

On white

8.62
#1E479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1E479C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E479C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E479C#FFFFFF#000000##FFFFFF
##1E479C1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e479c;
/* rgb */ color: rgb(30, 71, 156);
/* oklch */ color: oklch(42.2% 0.146 262.5);
Tailwind
colors: {
  custom: {
    50: '#6f79ba',
    500: '#1e479c',
    950: '#000000',
  },
}
SCSS
$custom: #1e479c;
$custom-light: #6f79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e479c",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 220.476,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.14642,
    "h": 262.5
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#1E479C
secondary
#C29E54
accent
#B23DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1E479C

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

Preview Lab → · Contrast checker → · Palette generator →

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