#2B52C3#2B52C3

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

Color values

HEX#2B52C3
RGBrgb(43, 82, 195)
HSLhsl(225, 64%, 47%)
HSVhsv(225, 78%, 76%)
CMYKcmyk(77.9%, 57.9%, 0%, 23.5%)
CIE-LABlab(38.70, 27.39, -62.93)
CIE-LCHlch(38.70, 68.63, 293.52°)
OKLaboklab(48.17% -0.0145 -0.1817)
OKLCHoklch(48.17% 0.182 265.4)
XYZxyz(13.8604, 10.4867, 52.9128)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52C3 #C39C2B
analogous
#2B9EC3 #2B52C3 #502BC3
triadic
#2B52C3 #C32B52 #52C32B
tetradic
#2B52C3 #C32B9E #C39C2B #2BC350
square
#2B52C3 #C32B9E #C39C2B #2BC350
split-complementary
#2B52C3 #C3502B #9EC32B
monochromatic
#15285F #203D91 #2B52C3 #5275D9 #849DE4

Accessibility & contrast

On white

6.78
#2B52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B52C3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52C3#FFFFFF#000000##FFFFFF
##2B52C31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.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: #2b52c3;
/* rgb */ color: rgb(43, 82, 195);
/* oklch */ color: oklch(48.2% 0.182 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c82d6',
    500: '#2b52c3',
    950: '#000000',
  },
}
SCSS
$custom: #2b52c3;
$custom-light: #7c82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52c3",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 224.605,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.18232,
    "h": 265.4
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#2B52C3
secondary
#CDB97D
accent
#BC41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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