#1E478C#1E478C

#1E478C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 40.9% C 0.124 H 260.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#1E478C
RGBrgb(30, 71, 140)
HSLhsl(218, 65%, 33%)
HSVhsv(218, 79%, 55%)
CMYKcmyk(78.6%, 49.3%, 0%, 45.1%)
CIE-LABlab(31.06, 11.83, -42.47)
CIE-LCHlch(31.06, 44.08, 285.57°)
OKLaboklab(40.95% -0.0211 -0.122)
OKLCHoklch(40.95% 0.124 260.2)
XYZxyz(7.5206, 6.6751, 25.6979)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E478C #8C631E
analogous
#1E7E8C #1E478C #2C1E8C
triadic
#1E478C #8C1E47 #478C1E
tetradic
#1E478C #8C1E7E #8C631E #1E8C2C
square
#1E478C #8C1E7E #8C631E #1E8C2C
split-complementary
#1E478C #8C2C1E #7E8C1E
monochromatic
#081427 #132D5A #1E478C #2961BE #4C80D9

Accessibility & contrast

On white

8.99
#1E478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1E478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E478C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E478C#FFFFFF#000000##FFFFFF
##1E478C1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e478c;
/* rgb */ color: rgb(30, 71, 140);
/* oklch */ color: oklch(40.9% 0.124 260.2);
Tailwind
colors: {
  custom: {
    50: '#6b79ae',
    500: '#1e478c',
    950: '#000000',
  },
}
SCSS
$custom: #1e478c;
$custom-light: #6b79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e478c",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 217.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.1238,
    "h": 260.2
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#1E478C
secondary
#BB914B
accent
#A940E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E478C

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

Preview Lab → · Contrast checker → · Palette generator →

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