#1A52A1#1A52A1

#1A52A1 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.141 H 258.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#1A52A1
RGBrgb(26, 82, 161)
HSLhsl(215, 72%, 37%)
HSVhsv(215, 84%, 63%)
CMYKcmyk(83.9%, 49.1%, 0%, 36.9%)
CIE-LABlab(35.65, 12.43, -47.82)
CIE-LCHlch(35.65, 49.41, 284.57°)
OKLaboklab(44.9% -0.029 -0.1376)
OKLCHoklch(44.9% 0.141 258.1)
XYZxyz(9.8739, 8.8262, 34.8945)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A52A1 #A1691A
analogous
#1A96A1 #1A52A1 #251AA1
triadic
#1A52A1 #A11A52 #52A11A
tetradic
#1A52A1 #A11A96 #A1691A #1AA125
square
#1A52A1 #A11A96 #A1691A #1AA125
split-complementary
#1A52A1 #A1251A #96A11A
monochromatic
#091C38 #11376C #1A52A1 #236DD6 #528EE3

Accessibility & contrast

On white

7.59
#1A52A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1A52A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A52A1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A52A1#FFFFFF#000000##FFFFFF
##1A52A11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1a52a1;
/* rgb */ color: rgb(26, 82, 161);
/* oklch */ color: oklch(44.9% 0.141 258.1);
Tailwind
colors: {
  custom: {
    50: '#6f82bd',
    500: '#1a52a1',
    950: '#000000',
  },
}
SCSS
$custom: #1a52a1;
$custom-light: #6f82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a52a1",
  "rgb": {
    "r": 26,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 215.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.14058,
    "h": 258.1
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#1A52A1
secondary
#C69551
accent
#A339EF
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1A52A1

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

Preview Lab → · Contrast checker → · Palette generator →

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