#1A4586#1A4586

#1A4586 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.119 H 258.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1A4586
RGBrgb(26, 69, 134)
HSLhsl(216, 68%, 31%)
HSVhsv(216, 81%, 53%)
CMYKcmyk(80.6%, 48.5%, 0%, 47.5%)
CIE-LABlab(29.90, 10.28, -40.63)
CIE-LCHlch(29.90, 41.91, 284.19°)
OKLaboklab(39.89% -0.0231 -0.1167)
OKLCHoklch(39.89% 0.119 258.8)
XYZxyz(6.8556, 6.1963, 23.3843)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4586 #865B1A
analogous
#1A7B86 #1A4586 #251A86
triadic
#1A4586 #861A45 #45861A
tetradic
#1A4586 #861A7B #865B1A #1A8625
square
#1A4586 #861A7B #865B1A #1A8625
split-complementary
#1A4586 #86251A #7B861A
monochromatic
#06101F #102B53 #1A4586 #245FB9 #407EDA

Accessibility & contrast

On white

9.38
#1A4586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1A4586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4586
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4586#FFFFFF#000000##FFFFFF
##1A45861.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C88
Deuteranopia (green-blind)
#024285
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4586;
/* rgb */ color: rgb(26, 69, 134);
/* oklch */ color: oklch(39.9% 0.119 258.8);
Tailwind
colors: {
  custom: {
    50: '#6878aa',
    500: '#1a4586',
    950: '#000000',
  },
}
SCSS
$custom: #1a4586;
$custom-light: #6878aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4586",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 216.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.11895,
    "h": 258.8
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#1A4586
secondary
#B98A42
accent
#A63DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4586

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

Preview Lab → · Contrast checker → · Palette generator →

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