#2B52C4#2B52C4

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

Color values

HEX#2B52C4
RGBrgb(43, 82, 196)
HSLhsl(225, 64%, 47%)
HSVhsv(225, 78%, 77%)
CMYKcmyk(78.1%, 58.2%, 0%, 23.1%)
CIE-LABlab(38.78, 27.77, -63.38)
CIE-LCHlch(38.78, 69.20, 293.66°)
OKLaboklab(48.25% -0.0145 -0.1831)
OKLCHoklch(48.25% 0.184 265.5)
XYZxyz(13.9738, 10.5321, 53.5103)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52C4 #C49D2B
analogous
#2B9FC4 #2B52C4 #512BC4
triadic
#2B52C4 #C42B52 #52C42B
tetradic
#2B52C4 #C42B9F #C49D2B #2BC451
square
#2B52C4 #C42B9F #C49D2B #2BC451
split-complementary
#2B52C4 #C4512B #9FC42B
monochromatic
#152860 #203D92 #2B52C4 #5375D9 #859DE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B52C4#FFFFFF#000000##FFFFFF
##2B52C41.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)
#0063C8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b52c4;
/* rgb */ color: rgb(43, 82, 196);
/* oklch */ color: oklch(48.3% 0.184 265.5);
Tailwind
colors: {
  custom: {
    50: '#7c82d7',
    500: '#2b52c4',
    950: '#000000',
  },
}
SCSS
$custom: #2b52c4;
$custom-light: #7c82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52c4",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 224.706,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.18365,
    "h": 265.5
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#2B52C4
secondary
#CEB97D
accent
#BD41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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