#1E478D#1E478D

#1E478D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.125 H 260.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#1E478D
RGBrgb(30, 71, 141)
HSLhsl(218, 65%, 34%)
HSVhsv(218, 79%, 55%)
CMYKcmyk(78.7%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.13, 12.23, -42.97)
CIE-LCHlch(31.13, 44.68, 285.89°)
OKLaboklab(41.02% -0.0209 -0.1235)
OKLCHoklch(41.02% 0.125 260.4)
XYZxyz(7.5946, 6.7047, 26.0880)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E478D #8D641E
analogous
#1E7E8D #1E478D #2C1E8D
triadic
#1E478D #8D1E47 #478D1E
tetradic
#1E478D #8D1E7E #8D641E #1E8D2C
square
#1E478D #8D1E7E #8D641E #1E8D2C
split-complementary
#1E478D #8D2C1E #7E8D1E
monochromatic
#091428 #132E5B #1E478D #2960BF #4C80D9

Accessibility & contrast

On white

8.97
#1E478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E478D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E478D#FFFFFF#000000##FFFFFF
##1E478D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e478d;
/* rgb */ color: rgb(30, 71, 141);
/* oklch */ color: oklch(41.0% 0.125 260.4);
Tailwind
colors: {
  custom: {
    50: '#6b79af',
    500: '#1e478d',
    950: '#000000',
  },
}
SCSS
$custom: #1e478d;
$custom-light: #6b79af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e478d",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 217.838,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41021,
    "c": 0.12523,
    "h": 260.4
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#1E478D
secondary
#BC924B
accent
#AA40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E478D

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

Preview Lab → · Contrast checker → · Palette generator →

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