#1A478C#1A478C

#1A478C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.125 H 259.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1A478C
RGBrgb(26, 71, 140)
HSLhsl(216, 69%, 33%)
HSVhsv(216, 81%, 55%)
CMYKcmyk(81.4%, 49.3%, 0%, 45.1%)
CIE-LABlab(30.92, 11.36, -42.69)
CIE-LCHlch(30.92, 44.17, 284.90°)
OKLaboklab(40.81% -0.0238 -0.1227)
OKLCHoklch(40.81% 0.125 259)
XYZxyz(7.4111, 6.6187, 25.6928)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A478C #8C5F1A
analogous
#1A808C #1A478C #261A8C
triadic
#1A478C #8C1A47 #478C1A
tetradic
#1A478C #8C1A80 #8C5F1A #1A8C26
square
#1A478C #8C1A80 #8C5F1A #1A8C26
split-complementary
#1A478C #8C261A #808C1A
monochromatic
#071325 #102D58 #1A478C #2461C0 #4480DC

Accessibility & contrast

On white

9.04
#1A478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A478C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A478C#FFFFFF#000000##FFFFFF
##1A478C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a478c;
/* rgb */ color: rgb(26, 71, 140);
/* oklch */ color: oklch(40.8% 0.125 259.0);
Tailwind
colors: {
  custom: {
    50: '#6a79ae',
    500: '#1a478c',
    950: '#000000',
  },
}
SCSS
$custom: #1a478c;
$custom-light: #6a79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a478c",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 216.316,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.12498,
    "h": 259
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#1A478C
secondary
#BE8E44
accent
#A63CEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A478C

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

Preview Lab → · Contrast checker → · Palette generator →

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