#1A479F#1A479F

#1A479F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.152 H 261.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#1A479F
RGBrgb(26, 71, 159)
HSLhsl(220, 72%, 36%)
HSVhsv(220, 84%, 62%)
CMYKcmyk(83.6%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.32, 19.07, -52.00)
CIE-LCHlch(32.32, 55.38, 290.14°)
OKLaboklab(42.32% -0.0213 -0.1501)
OKLCHoklch(42.32% 0.152 261.9)
XYZxyz(8.9350, 7.2282, 33.7184)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A479F #9F721A
analogous
#1A8A9F #1A479F #301A9F
triadic
#1A479F #9F1A47 #479F1A
tetradic
#1A479F #9F1A8A #9F721A #1A9F30
square
#1A479F #9F1A8A #9F721A #1A9F30
split-complementary
#1A479F #9F301A #8A9F1A
monochromatic
#091836 #11306A #1A479F #235ED4 #5182E3

Accessibility & contrast

On white

8.59
#1A479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1A479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A479F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A479F#FFFFFF#000000##FFFFFF
##1A479F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a479f;
/* rgb */ color: rgb(26, 71, 159);
/* oklch */ color: oklch(42.3% 0.152 261.9);
Tailwind
colors: {
  custom: {
    50: '#6f79bc',
    500: '#1a479f',
    950: '#000000',
  },
}
SCSS
$custom: #1a479f;
$custom-light: #6f79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a479f",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 219.699,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.1516,
    "h": 261.9
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#1A479F
secondary
#C59D50
accent
#B139EF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1A479F

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

Preview Lab → · Contrast checker → · Palette generator →

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