#2C52AD#2C52AD

#2C52AD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.152 H 264.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2C52AD
RGBrgb(44, 82, 173)
HSLhsl(222, 59%, 43%)
HSVhsv(222, 75%, 68%)
CMYKcmyk(74.6%, 52.6%, 0%, 32.2%)
CIE-LABlab(37.09, 19.16, -52.62)
CIE-LCHlch(37.09, 55.99, 290.01°)
OKLaboklab(46.44% -0.0153 -0.1514)
OKLCHoklch(46.44% 0.152 264.2)
XYZxyz(11.5962, 9.5859, 40.7662)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C52AD #AD872C
analogous
#2C92AD #2C52AD #472CAD
triadic
#2C52AD #AD2C52 #52AD2C
tetradic
#2C52AD #AD2C92 #AD872C #2CAD47
square
#2C52AD #AD2C92 #AD872C #2CAD47
split-complementary
#2C52AD #AD472C #92AD2C
monochromatic
#13244B #203B7C #2C52AD #466FD0 #7795DC

Accessibility & contrast

On white

7.20
#2C52AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2C52AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C52AD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C52AD#FFFFFF#000000##FFFFFF
##2C52AD1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c52ad;
/* rgb */ color: rgb(44, 82, 173);
/* oklch */ color: oklch(46.4% 0.152 264.2);
Tailwind
colors: {
  custom: {
    50: '#7782c6',
    500: '#2c52ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c52ad;
$custom-light: #7782c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c52ad",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 222.326,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.15218,
    "h": 264.2
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#2C52AD
secondary
#C4AC71
accent
#B445E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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