#1A478D#1A478D

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

Color values

HEX#1A478D
RGBrgb(26, 71, 141)
HSLhsl(217, 69%, 33%)
HSVhsv(217, 82%, 55%)
CMYKcmyk(81.6%, 49.6%, 0%, 44.7%)
CIE-LABlab(30.99, 11.76, -43.19)
CIE-LCHlch(30.99, 44.76, 285.24°)
OKLaboklab(40.88% -0.0236 -0.1242)
OKLCHoklch(40.88% 0.126 259.2)
XYZxyz(7.4852, 6.6483, 26.0829)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A478D #8D601A
analogous
#1A808D #1A478D #271A8D
triadic
#1A478D #8D1A47 #478D1A
tetradic
#1A478D #8D1A80 #8D601A #1A8D27
square
#1A478D #8D1A80 #8D601A #1A8D27
split-complementary
#1A478D #8D271A #808D1A
monochromatic
#071326 #102D59 #1A478D #2461C1 #4580DD

Accessibility & contrast

On white

9.01
#1A478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A478D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A478D#FFFFFF#000000##FFFFFF
##1A478D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a478d;
/* rgb */ color: rgb(26, 71, 141);
/* oklch */ color: oklch(40.9% 0.126 259.2);
Tailwind
colors: {
  custom: {
    50: '#6a79af',
    500: '#1a478d',
    950: '#000000',
  },
}
SCSS
$custom: #1a478d;
$custom-light: #6a79af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a478d",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 216.522,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.12639,
    "h": 259.2
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#1A478D
secondary
#BE8F45
accent
#A73CEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1A478D

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

Preview Lab → · Contrast checker → · Palette generator →

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