#1A52B3#1A52B3

#1A52B3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.165 H 260.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#1A52B3
RGBrgb(26, 82, 179)
HSLhsl(218, 75%, 40%)
HSVhsv(218, 85%, 70%)
CMYKcmyk(85.5%, 54.2%, 0%, 29.8%)
CIE-LABlab(36.94, 19.65, -56.43)
CIE-LCHlch(36.94, 59.75, 289.20°)
OKLaboklab(46.31% -0.0266 -0.1629)
OKLCHoklch(46.31% 0.165 260.7)
XYZxyz(11.5770, 9.5074, 43.8640)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A52B3 #B37B1A
analogous
#1A9FB3 #1A52B3 #2E1AB3
triadic
#1A52B3 #B31A52 #52B31A
tetradic
#1A52B3 #B31A9F #B37B1A #1AB32E
square
#1A52B3 #B31A9F #B37B1A #1AB32E
split-complementary
#1A52B3 #B32E1A #9FB31A
monochromatic
#0A2148 #123A7E #1A52B3 #2A6DE0 #6091E8

Accessibility & contrast

On white

7.24
#1A52B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1A52B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A52B3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A52B3#FFFFFF#000000##FFFFFF
##1A52B31.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1a52b3;
/* rgb */ color: rgb(26, 82, 179);
/* oklch */ color: oklch(46.3% 0.165 260.7);
Tailwind
colors: {
  custom: {
    50: '#7381ca',
    500: '#1a52b3',
    950: '#000000',
  },
}
SCSS
$custom: #1a52b3;
$custom-light: #7381ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1a52b3",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 218.039,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.16505,
    "h": 260.7
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#1A52B3
secondary
#CCA35D
accent
#AD37F1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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