#1A479B#1A479B

#1A479B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.146 H 261.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1A479B
RGBrgb(26, 71, 155)
HSLhsl(219, 71%, 35%)
HSVhsv(219, 83%, 61%)
CMYKcmyk(83.2%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.01, 17.45, -50.08)
CIE-LCHlch(32.01, 53.03, 289.21°)
OKLaboklab(41.99% -0.0217 -0.1444)
OKLCHoklch(41.99% 0.146 261.4)
XYZxyz(8.5935, 7.0916, 31.9199)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A479B #9B6E1A
analogous
#1A879B #1A479B #2E1A9B
triadic
#1A479B #9B1A47 #479B1A
tetradic
#1A479B #9B1A87 #9B6E1A #1A9B2E
square
#1A479B #9B1A87 #9B6E1A #1A9B2E
split-complementary
#1A479B #9B2E1A #879B1A
monochromatic
#081732 #112F67 #1A479B #235FCF #4E81E1

Accessibility & contrast

On white

8.68
#1A479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1A479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A479B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A479B#FFFFFF#000000##FFFFFF
##1A479B1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02519E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a479b;
/* rgb */ color: rgb(26, 71, 155);
/* oklch */ color: oklch(42.0% 0.146 261.4);
Tailwind
colors: {
  custom: {
    50: '#6e79b9',
    500: '#1a479b',
    950: '#000000',
  },
}
SCSS
$custom: #1a479b;
$custom-light: #6e79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a479b",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 219.07,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.14606,
    "h": 261.4
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#1A479B
secondary
#C49A4D
accent
#AF3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A479B

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

Preview Lab → · Contrast checker → · Palette generator →

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