#1A509E#1A509E

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

Color values

HEX#1A509E
RGBrgb(26, 80, 158)
HSLhsl(215, 72%, 36%)
HSVhsv(215, 84%, 62%)
CMYKcmyk(83.5%, 49.4%, 0%, 38%)
CIE-LABlab(34.85, 12.56, -47.30)
CIE-LCHlch(34.85, 48.94, 284.87°)
OKLaboklab(44.23% -0.028 -0.1361)
OKLCHoklch(44.23% 0.139 258.4)
XYZxyz(9.4639, 8.4244, 33.4684)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A509E #9E681A
analogous
#1A929E #1A509E #261A9E
triadic
#1A509E #9E1A50 #509E1A
tetradic
#1A509E #9E1A92 #9E681A #1A9E26
square
#1A509E #9E1A92 #9E681A #1A9E26
split-complementary
#1A509E #9E261A #929E1A
monochromatic
#091B35 #113569 #1A509E #236BD3 #508CE2

Accessibility & contrast

On white

7.82
#1A509E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A509E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A509E#FFFFFF#000000##FFFFFF
##1A509E1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1a509e;
/* rgb */ color: rgb(26, 80, 158);
/* oklch */ color: oklch(44.2% 0.139 258.4);
Tailwind
colors: {
  custom: {
    50: '#6e80bb',
    500: '#1a509e',
    950: '#000000',
  },
}
SCSS
$custom: #1a509e;
$custom-light: #6e80bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a509e",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 215.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44226,
    "c": 0.13892,
    "h": 258.4
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A509E

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

Preview Lab → · Contrast checker → · Palette generator →

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