#1A478E#1A478E

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

Color values

HEX#1A478E
RGBrgb(26, 71, 142)
HSLhsl(217, 69%, 33%)
HSVhsv(217, 82%, 56%)
CMYKcmyk(81.7%, 50%, 0%, 44.3%)
CIE-LABlab(31.06, 12.17, -43.69)
CIE-LCHlch(31.06, 45.35, 285.57°)
OKLaboklab(40.96% -0.0234 -0.1257)
OKLCHoklch(40.96% 0.128 259.4)
XYZxyz(7.5599, 6.6782, 26.4765)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A478E #8E611A
analogous
#1A818E #1A478E #271A8E
triadic
#1A478E #8E1A47 #478E1A
tetradic
#1A478E #8E1A81 #8E611A #1A8E27
square
#1A478E #8E1A81 #8E611A #1A8E27
split-complementary
#1A478E #8E271A #818E1A
monochromatic
#071327 #112D5A #1A478E #2361C2 #4580DD

Accessibility & contrast

On white

8.99
#1A478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A478E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A478E#FFFFFF#000000##FFFFFF
##1A478E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a478e;
/* rgb */ color: rgb(26, 71, 142);
/* oklch */ color: oklch(41.0% 0.128 259.4);
Tailwind
colors: {
  custom: {
    50: '#6a79b0',
    500: '#1a478e',
    950: '#000000',
  },
}
SCSS
$custom: #1a478e;
$custom-light: #6a79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a478e",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 216.724,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.12782,
    "h": 259.4
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A478E

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

Preview Lab → · Contrast checker → · Palette generator →

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