#2A52AD#2A52AD

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

Color values

HEX#2A52AD
RGBrgb(42, 82, 173)
HSLhsl(222, 61%, 42%)
HSVhsv(222, 76%, 68%)
CMYKcmyk(75.7%, 52.6%, 0%, 32.2%)
CIE-LABlab(37.01, 18.90, -52.75)
CIE-LCHlch(37.01, 56.03, 289.71°)
OKLaboklab(46.36% -0.0169 -0.1518)
OKLCHoklch(46.36% 0.153 263.7)
XYZxyz(11.5123, 9.5427, 40.7623)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A52AD #AD852A
analogous
#2A94AD #2A52AD #432AAD
triadic
#2A52AD #AD2A52 #52AD2A
tetradic
#2A52AD #AD2A94 #AD852A #2AAD43
square
#2A52AD #AD2A94 #AD852A #2AAD43
split-complementary
#2A52AD #AD432A #94AD2A
monochromatic
#12234B #1E3B7C #2A52AD #436ED1 #7494DD

Accessibility & contrast

On white

7.22
#2A52AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2A52AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A52AD#FFFFFF#000000##FFFFFF
##2A52AD1.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)
#135DB0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a52ad;
/* rgb */ color: rgb(42, 82, 173);
/* oklch */ color: oklch(46.4% 0.153 263.7);
Tailwind
colors: {
  custom: {
    50: '#7782c6',
    500: '#2a52ad',
    950: '#000000',
  },
}
SCSS
$custom: #2a52ad;
$custom-light: #7782c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a52ad",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 221.679,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46359,
    "c": 0.15278,
    "h": 263.7
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#2A52AD
secondary
#C5AA6E
accent
#B344E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A52AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2A52AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva