#1A478F#1A478F

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

Color values

HEX#1A478F
RGBrgb(26, 71, 143)
HSLhsl(217, 69%, 33%)
HSVhsv(217, 82%, 56%)
CMYKcmyk(81.8%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.13, 12.58, -44.19)
CIE-LCHlch(31.13, 45.95, 285.89°)
OKLaboklab(41.04% -0.0233 -0.1271)
OKLCHoklch(41.04% 0.129 259.6)
XYZxyz(7.6354, 6.7083, 26.8737)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A478F #8F621A
analogous
#1A818F #1A478F #271A8F
triadic
#1A478F #8F1A47 #478F1A
tetradic
#1A478F #8F1A81 #8F621A #1A8F27
square
#1A478F #8F1A81 #8F621A #1A8F27
split-complementary
#1A478F #8F271A #818F1A
monochromatic
#071427 #112D5B #1A478F #2361C3 #4680DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A478F#FFFFFF#000000##FFFFFF
##1A478F1.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)
#1C4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a478f;
/* rgb */ color: rgb(26, 71, 143);
/* oklch */ color: oklch(41.0% 0.129 259.6);
Tailwind
colors: {
  custom: {
    50: '#6b79b0',
    500: '#1a478f',
    950: '#000000',
  },
}
SCSS
$custom: #1a478f;
$custom-light: #6b79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a478f",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 216.923,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.12924,
    "h": 259.6
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#1A478F
secondary
#BF9046
accent
#A83CEC
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1A478F

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

Preview Lab → · Contrast checker → · Palette generator →

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