#1E478B#1E478B

#1E478B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.122 H 260.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1E478B
RGBrgb(30, 71, 139)
HSLhsl(217, 64%, 33%)
HSVhsv(217, 78%, 55%)
CMYKcmyk(78.4%, 48.9%, 0%, 45.5%)
CIE-LABlab(30.99, 11.43, -41.96)
CIE-LCHlch(30.99, 43.49, 285.23°)
OKLaboklab(40.87% -0.0213 -0.1205)
OKLCHoklch(40.87% 0.122 260)
XYZxyz(7.4472, 6.6457, 25.3114)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E478B #8B621E
analogous
#1E7D8B #1E478B #2B1E8B
triadic
#1E478B #8B1E47 #478B1E
tetradic
#1E478B #8B1E7D #8B621E #1E8B2B
square
#1E478B #8B1E7D #8B621E #1E8B2B
split-complementary
#1E478B #8B2B1E #7D8B1E
monochromatic
#081426 #132D59 #1E478B #2961BD #4B80D8

Accessibility & contrast

On white

9.02
#1E478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1E478B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E478B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E478B#FFFFFF#000000##FFFFFF
##1E478B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e478b;
/* rgb */ color: rgb(30, 71, 139);
/* oklch */ color: oklch(40.9% 0.122 260.0);
Tailwind
colors: {
  custom: {
    50: '#6b79ad',
    500: '#1e478b',
    950: '#000000',
  },
}
SCSS
$custom: #1e478b;
$custom-light: #6b79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e478b",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 217.431,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.12237,
    "h": 260
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#1E478B
secondary
#BB904A
accent
#A940E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E478B

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

Preview Lab → · Contrast checker → · Palette generator →

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