#2C52C3#2C52C3

#2C52C3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.182 H 265.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2C52C3
RGBrgb(44, 82, 195)
HSLhsl(225, 63%, 47%)
HSVhsv(225, 77%, 76%)
CMYKcmyk(77.4%, 57.9%, 0%, 23.5%)
CIE-LABlab(38.74, 27.50, -62.86)
CIE-LCHlch(38.74, 68.61, 293.63°)
OKLaboklab(48.21% -0.0138 -0.1815)
OKLCHoklch(48.21% 0.182 265.7)
XYZxyz(13.9029, 10.5086, 52.9148)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C52C3 #C39D2C
analogous
#2C9EC3 #2C52C3 #522CC3
triadic
#2C52C3 #C32C52 #52C32C
tetradic
#2C52C3 #C32C9E #C39D2C #2CC352
square
#2C52C3 #C32C9E #C39D2C #2CC352
split-complementary
#2C52C3 #C3522C #9EC32C
monochromatic
#15285F #213D91 #2C52C3 #5475D8 #869DE4

Accessibility & contrast

On white

6.77
#2C52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2C52C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C52C3
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C52C3#FFFFFF#000000##FFFFFF
##2C52C31.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c52c3;
/* rgb */ color: rgb(44, 82, 195);
/* oklch */ color: oklch(48.2% 0.182 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c82d6',
    500: '#2c52c3',
    950: '#000000',
  },
}
SCSS
$custom: #2c52c3;
$custom-light: #7c82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c52c3",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 224.901,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.18206,
    "h": 265.7
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#2C52C3
secondary
#CDB97E
accent
#BD42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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