#2C52D3#2C52D3

#2C52D3 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 49.6% C 0.203 H 266.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2C52D3
RGBrgb(44, 82, 211)
HSLhsl(226, 65%, 50%)
HSVhsv(226, 79%, 83%)
CMYKcmyk(79.1%, 61.1%, 0%, 17.3%)
CIE-LABlab(40.03, 33.45, -70.01)
CIE-LCHlch(40.03, 77.59, 295.54°)
OKLaboklab(49.58% -0.0134 -0.2025)
OKLCHoklch(49.58% 0.203 266.2)
XYZxyz(15.8097, 11.2714, 62.9577)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C52D3 #D3AD2C
analogous
#2CA6D3 #2C52D3 #592CD3
triadic
#2C52D3 #D32C52 #52D32C
tetradic
#2C52D3 #D32CA6 #D3AD2C #2CD359
square
#2C52D3 #D32CA6 #D3AD2C #2CD359
split-complementary
#2C52D3 #D3592C #A6D32C
monochromatic
#172B6E #213EA0 #2C52D3 #5F7CDE #91A5E8

Accessibility & contrast

On white

6.45
#2C52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2C52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C52D3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C52D3#FFFFFF#000000##FFFFFF
##2C52D31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c52d3;
/* rgb */ color: rgb(44, 82, 211);
/* oklch */ color: oklch(49.6% 0.203 266.2);
Tailwind
colors: {
  custom: {
    50: '#8082e2',
    500: '#2c52d3',
    950: '#000000',
  },
}
SCSS
$custom: #2c52d3;
$custom-light: #8082e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c52d3",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 226.347,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.20296,
    "h": 266.2
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#2C52D3
secondary
#D3C288
accent
#C23FE8
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A15
muted
#7D7C84

Preview Lab

Preview with #2C52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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