#1A509F#1A509F

#1A509F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.140 H 258.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#1A509F
RGBrgb(26, 80, 159)
HSLhsl(216, 72%, 36%)
HSVhsv(216, 84%, 62%)
CMYKcmyk(83.6%, 49.7%, 0%, 37.6%)
CIE-LABlab(34.92, 12.96, -47.79)
CIE-LCHlch(34.92, 49.52, 285.18°)
OKLaboklab(44.3% -0.0278 -0.1375)
OKLCHoklch(44.3% 0.14 258.6)
XYZxyz(9.5504, 8.4590, 33.9236)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A509F #9F691A
analogous
#1A939F #1A509F #271A9F
triadic
#1A509F #9F1A50 #509F1A
tetradic
#1A509F #9F1A93 #9F691A #1A9F27
square
#1A509F #9F1A93 #9F691A #1A9F27
split-complementary
#1A509F #9F271A #939F1A
monochromatic
#091B36 #11366A #1A509F #236AD4 #518CE3

Accessibility & contrast

On white

7.80
#1A509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1A509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A509F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A509F#FFFFFF#000000##FFFFFF
##1A509F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1a509f;
/* rgb */ color: rgb(26, 80, 159);
/* oklch */ color: oklch(44.3% 0.140 258.6);
Tailwind
colors: {
  custom: {
    50: '#6e80bc',
    500: '#1a509f',
    950: '#000000',
  },
}
SCSS
$custom: #1a509f;
$custom-light: #6e80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a509f",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 215.639,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.1403,
    "h": 258.6
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#1A509F
secondary
#C59550
accent
#A539EF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1A509F

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

Preview Lab → · Contrast checker → · Palette generator →

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