#1E478E#1E478E

#1E478E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.127 H 260.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#1E478E
RGBrgb(30, 71, 142)
HSLhsl(218, 65%, 34%)
HSVhsv(218, 79%, 56%)
CMYKcmyk(78.9%, 50%, 0%, 44.3%)
CIE-LABlab(31.19, 12.64, -43.47)
CIE-LCHlch(31.19, 45.27, 286.21°)
OKLaboklab(41.1% -0.0208 -0.1249)
OKLCHoklch(41.1% 0.127 260.6)
XYZxyz(7.6694, 6.7346, 26.4816)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E478E #8E651E
analogous
#1E7F8E #1E478E #2D1E8E
triadic
#1E478E #8E1E47 #478E1E
tetradic
#1E478E #8E1E7F #8E651E #1E8E2D
square
#1E478E #8E1E7F #8E651E #1E8E2D
split-complementary
#1E478E #8E2D1E #7F8E1E
monochromatic
#091429 #132E5B #1E478E #2960C1 #4D80D9

Accessibility & contrast

On white

8.95
#1E478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E478E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E478E#FFFFFF#000000##FFFFFF
##1E478E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e478e;
/* rgb */ color: rgb(30, 71, 142);
/* oklch */ color: oklch(41.1% 0.127 260.6);
Tailwind
colors: {
  custom: {
    50: '#6c79b0',
    500: '#1e478e',
    950: '#000000',
  },
}
SCSS
$custom: #1e478e;
$custom-light: #6c79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e478e",
  "rgb": {
    "r": 30,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 218.036,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.12665,
    "h": 260.6
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#1E478E
secondary
#BC934C
accent
#AA40E8
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E478E

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

Preview Lab → · Contrast checker → · Palette generator →

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