#1A4786#1A4786

#1A4786 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.116 H 257.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#1A4786
RGBrgb(26, 71, 134)
HSLhsl(215, 68%, 31%)
HSVhsv(215, 81%, 53%)
CMYKcmyk(80.6%, 47%, 0%, 47.5%)
CIE-LABlab(30.51, 8.91, -39.65)
CIE-LCHlch(30.51, 40.64, 282.66°)
OKLaboklab(40.36% -0.0248 -0.1137)
OKLCHoklch(40.36% 0.116 257.7)
XYZxyz(6.9807, 6.4465, 23.4260)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4786 #86591A
analogous
#1A7D86 #1A4786 #231A86
triadic
#1A4786 #861A47 #47861A
tetradic
#1A4786 #861A7D #86591A #1A8623
square
#1A4786 #861A7D #86591A #1A8623
split-complementary
#1A4786 #86231A #7D861A
monochromatic
#06111F #102C53 #1A4786 #2462B9 #4080DA

Accessibility & contrast

On white

9.17
#1A4786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1A4786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4786
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4786#FFFFFF#000000##FFFFFF
##1A47861.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#0C4385
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a4786;
/* rgb */ color: rgb(26, 71, 134);
/* oklch */ color: oklch(40.4% 0.116 257.7);
Tailwind
colors: {
  custom: {
    50: '#6879aa',
    500: '#1a4786',
    950: '#000000',
  },
}
SCSS
$custom: #1a4786;
$custom-light: #6879aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4786",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 215,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.11643,
    "h": 257.7
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#1A4786
secondary
#B98842
accent
#A23DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A4786

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

Preview Lab → · Contrast checker → · Palette generator →

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