#2D52C3#2D52C3

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

Color values

HEX#2D52C3
RGBrgb(45, 82, 195)
HSLhsl(225, 63%, 47%)
HSVhsv(225, 77%, 76%)
CMYKcmyk(76.9%, 57.9%, 0%, 23.5%)
CIE-LABlab(38.78, 27.60, -62.80)
CIE-LCHlch(38.78, 68.60, 293.73°)
OKLaboklab(48.25% -0.013 -0.1813)
OKLCHoklch(48.25% 0.182 265.9)
XYZxyz(13.9463, 10.5310, 52.9169)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D52C3 #C39E2D
analogous
#2D9DC3 #2D52C3 #532DC3
triadic
#2D52C3 #C32D52 #52C32D
tetradic
#2D52C3 #C32D9D #C39E2D #2DC353
square
#2D52C3 #C32D9D #C39E2D #2DC353
split-complementary
#2D52C3 #C3532D #9DC32D
monochromatic
#162860 #223D91 #2D52C3 #5576D8 #879EE3

Accessibility & contrast

On white

6.76
#2D52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D52C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D52C3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D52C3#FFFFFF#000000##FFFFFF
##2D52C31.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d52c3;
/* rgb */ color: rgb(45, 82, 195);
/* oklch */ color: oklch(48.2% 0.182 265.9);
Tailwind
colors: {
  custom: {
    50: '#7d82d6',
    500: '#2d52c3',
    950: '#000000',
  },
}
SCSS
$custom: #2d52c3;
$custom-light: #7d82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d52c3",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 225.2,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.18179,
    "h": 265.9
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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