#1E478F#1E478F

#1E478F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.128 H 260.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#1E478F
RGBrgb(30, 71, 143)
HSLhsl(218, 65%, 34%)
HSVhsv(218, 79%, 56%)
CMYKcmyk(79%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.27, 13.04, -43.97)
CIE-LCHlch(31.27, 45.86, 286.52°)
OKLaboklab(41.17% -0.0206 -0.1264)
OKLCHoklch(41.17% 0.128 260.7)
XYZxyz(7.7448, 6.7648, 26.8788)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E478F #8F661E
analogous
#1E808F #1E478F #2E1E8F
triadic
#1E478F #8F1E47 #478F1E
tetradic
#1E478F #8F1E80 #8F661E #1E8F2E
square
#1E478F #8F1E80 #8F661E #1E8F2E
split-complementary
#1E478F #8F2E1E #808F1E
monochromatic
#09152A #132E5C #1E478F #2960C2 #4E80DA

Accessibility & contrast

On white

8.92
#1E478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1E478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E478F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E478F#FFFFFF#000000##FFFFFF
##1E478F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e478f;
/* rgb */ color: rgb(30, 71, 143);
/* oklch */ color: oklch(41.2% 0.128 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c79b0',
    500: '#1e478f',
    950: '#000000',
  },
}
SCSS
$custom: #1e478f;
$custom-light: #6c79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e478f",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 218.23,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41173,
    "c": 0.12808,
    "h": 260.7
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#1E478F
secondary
#BC944C
accent
#AB40E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #1E478F

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

Preview Lab → · Contrast checker → · Palette generator →

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