#1A52B4#1A52B4

#1A52B4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.166 H 260.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#1A52B4
RGBrgb(26, 82, 180)
HSLhsl(218, 75%, 40%)
HSVhsv(218, 86%, 71%)
CMYKcmyk(85.6%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.02, 20.04, -56.90)
CIE-LCHlch(37.02, 60.32, 289.41°)
OKLaboklab(46.39% -0.0265 -0.1643)
OKLCHoklch(46.39% 0.166 260.8)
XYZxyz(11.6785, 9.5480, 44.3986)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A52B4 #B47C1A
analogous
#1A9FB4 #1A52B4 #2F1AB4
triadic
#1A52B4 #B41A52 #52B41A
tetradic
#1A52B4 #B41A9F #B47C1A #1AB42F
square
#1A52B4 #B41A9F #B47C1A #1AB42F
split-complementary
#1A52B4 #B42F1A #9FB41A
monochromatic
#0B2149 #123A7F #1A52B4 #2B6DE0 #6092E8

Accessibility & contrast

On white

7.22
#1A52B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1A52B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A52B4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A52B4#FFFFFF#000000##FFFFFF
##1A52B41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1a52b4;
/* rgb */ color: rgb(26, 82, 180);
/* oklch */ color: oklch(46.4% 0.166 260.8);
Tailwind
colors: {
  custom: {
    50: '#7481cb',
    500: '#1a52b4',
    950: '#000000',
  },
}
SCSS
$custom: #1a52b4;
$custom-light: #7481cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a52b4",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 218.182,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.16639,
    "h": 260.8
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#1A52B4
secondary
#CCA45D
accent
#AD36F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A52B4

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

Preview Lab → · Contrast checker → · Palette generator →

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