#1A478A#1A478A

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

Color values

HEX#1A478A
RGBrgb(26, 71, 138)
HSLhsl(216, 68%, 32%)
HSVhsv(216, 81%, 54%)
CMYKcmyk(81.2%, 48.6%, 0%, 45.9%)
CIE-LABlab(30.78, 10.54, -41.68)
CIE-LCHlch(30.78, 42.99, 284.19°)
OKLaboklab(40.66% -0.0241 -0.1197)
OKLCHoklch(40.66% 0.122 258.6)
XYZxyz(7.2650, 6.5602, 24.9232)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A478A #8A5D1A
analogous
#1A7F8A #1A478A #251A8A
triadic
#1A478A #8A1A47 #478A1A
tetradic
#1A478A #8A1A7F #8A5D1A #1A8A25
square
#1A478A #8A1A7F #8A5D1A #1A8A25
split-complementary
#1A478A #8A251A #7F8A1A
monochromatic
#071223 #102D57 #1A478A #2461BD #4380DC

Accessibility & contrast

On white

9.08
#1A478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1A478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A478A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A478A#FFFFFF#000000##FFFFFF
##1A478A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#004489
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a478a;
/* rgb */ color: rgb(26, 71, 138);
/* oklch */ color: oklch(40.7% 0.122 258.6);
Tailwind
colors: {
  custom: {
    50: '#6979ad',
    500: '#1a478a',
    950: '#000000',
  },
}
SCSS
$custom: #1a478a;
$custom-light: #6979ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a478a",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 215.893,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40655,
    "c": 0.12213,
    "h": 258.6
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#1A478A
secondary
#BD8C43
accent
#A53DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A478A

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

Preview Lab → · Contrast checker → · Palette generator →

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