#1A478B#1A478B

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

Color values

HEX#1A478B
RGBrgb(26, 71, 139)
HSLhsl(216, 68%, 32%)
HSVhsv(216, 81%, 55%)
CMYKcmyk(81.3%, 48.9%, 0%, 45.5%)
CIE-LABlab(30.85, 10.95, -42.19)
CIE-LCHlch(30.85, 43.58, 284.55°)
OKLaboklab(40.73% -0.0239 -0.1212)
OKLCHoklch(40.73% 0.124 258.8)
XYZxyz(7.3377, 6.5893, 25.3062)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A478B #8B5E1A
analogous
#1A808B #1A478B #251A8B
triadic
#1A478B #8B1A47 #478B1A
tetradic
#1A478B #8B1A80 #8B5E1A #1A8B25
square
#1A478B #8B1A80 #8B5E1A #1A8B25
split-complementary
#1A478B #8B251A #808B1A
monochromatic
#071224 #102D57 #1A478B #2461BF #4380DC

Accessibility & contrast

On white

9.06
#1A478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1A478B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A478B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A478B#FFFFFF#000000##FFFFFF
##1A478B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a478b;
/* rgb */ color: rgb(26, 71, 139);
/* oklch */ color: oklch(40.7% 0.124 258.8);
Tailwind
colors: {
  custom: {
    50: '#6a79ad',
    500: '#1a478b',
    950: '#000000',
  },
}
SCSS
$custom: #1a478b;
$custom-light: #6a79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a478b",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 216.106,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.12356,
    "h": 258.8
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#1A478B
secondary
#BD8D44
accent
#A63CEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A478B

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

Preview Lab → · Contrast checker → · Palette generator →

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