#1A509D#1A509D

#1A509D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.138 H 258.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#1A509D
RGBrgb(26, 80, 157)
HSLhsl(215, 72%, 36%)
HSVhsv(215, 83%, 62%)
CMYKcmyk(83.4%, 49%, 0%, 38.4%)
CIE-LABlab(34.78, 12.16, -46.81)
CIE-LCHlch(34.78, 48.36, 284.56°)
OKLaboklab(44.15% -0.0281 -0.1346)
OKLCHoklch(44.15% 0.138 258.2)
XYZxyz(9.3782, 8.3901, 33.0169)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A509D #9D671A
analogous
#1A919D #1A509D #251A9D
triadic
#1A509D #9D1A50 #509D1A
tetradic
#1A509D #9D1A91 #9D671A #1A9D25
square
#1A509D #9D1A91 #9D671A #1A9D25
split-complementary
#1A509D #9D251A #919D1A
monochromatic
#091A34 #113568 #1A509D #236BD2 #4F8CE2

Accessibility & contrast

On white

7.84
#1A509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1A509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A509D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A509D#FFFFFF#000000##FFFFFF
##1A509D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1a509d;
/* rgb */ color: rgb(26, 80, 157);
/* oklch */ color: oklch(44.2% 0.138 258.2);
Tailwind
colors: {
  custom: {
    50: '#6e80ba',
    500: '#1a509d',
    950: '#000000',
  },
}
SCSS
$custom: #1a509d;
$custom-light: #6e80ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1a509d",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 215.267,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.13754,
    "h": 258.2
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#1A509D
secondary
#C4944E
accent
#A439EE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1A509D

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

Preview Lab → · Contrast checker → · Palette generator →

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