#1A52BB#1A52BB

#1A52BB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.176 H 261.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#1A52BB
RGBrgb(26, 82, 187)
HSLhsl(219, 76%, 42%)
HSVhsv(219, 86%, 73%)
CMYKcmyk(86.1%, 56.1%, 0%, 26.7%)
CIE-LABlab(37.55, 22.82, -60.14)
CIE-LCHlch(37.55, 64.33, 290.78°)
OKLaboklab(46.96% -0.0259 -0.1738)
OKLCHoklch(46.96% 0.176 261.5)
XYZxyz(12.4097, 9.8405, 48.2494)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A52BB #BB831A
analogous
#1AA3BB #1A52BB #321ABB
triadic
#1A52BB #BB1A52 #52BB1A
tetradic
#1A52BB #BB1AA3 #BB831A #1ABB32
square
#1A52BB #BB1AA3 #BB831A #1ABB32
split-complementary
#1A52BB #BB321A #A3BB1A
monochromatic
#0B2350 #133A85 #1A52BB #306EE2 #6694EA

Accessibility & contrast

On white

7.07
#1A52BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1A52BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A52BB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A52BB#FFFFFF#000000##FFFFFF
##1A52BB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1a52bb;
/* rgb */ color: rgb(26, 82, 187);
/* oklch */ color: oklch(47.0% 0.176 261.5);
Tailwind
colors: {
  custom: {
    50: '#7581d0',
    500: '#1a52bb',
    950: '#000000',
  },
}
SCSS
$custom: #1a52bb;
$custom-light: #7581d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a52bb",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 219.13,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46962,
    "c": 0.17572,
    "h": 261.5
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#1A52BB
secondary
#CFA962
accent
#B136F2
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #1A52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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