#2B52C0#2B52C0

#2B52C0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.178 H 265.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2B52C0
RGBrgb(43, 82, 192)
HSLhsl(224, 63%, 46%)
HSVhsv(224, 78%, 75%)
CMYKcmyk(77.6%, 57.3%, 0%, 24.7%)
CIE-LABlab(38.47, 26.26, -61.56)
CIE-LCHlch(38.47, 66.93, 293.10°)
OKLaboklab(47.92% -0.0147 -0.1777)
OKLCHoklch(47.92% 0.178 265.3)
XYZxyz(13.5246, 10.3524, 51.1444)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52C0 #C0992B
analogous
#2B9CC0 #2B52C0 #4E2BC0
triadic
#2B52C0 #C02B52 #52C02B
tetradic
#2B52C0 #C02B9C #C0992B #2BC04E
square
#2B52C0 #C02B9C #C0992B #2BC04E
split-complementary
#2B52C0 #C04E2B #9CC02B
monochromatic
#15275C #203D8E #2B52C0 #5074D8 #829CE3

Accessibility & contrast

On white

6.84
#2B52C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2B52C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B52C0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52C0#FFFFFF#000000##FFFFFF
##2B52C01.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b52c0;
/* rgb */ color: rgb(43, 82, 192);
/* oklch */ color: oklch(47.9% 0.178 265.3);
Tailwind
colors: {
  custom: {
    50: '#7b82d4',
    500: '#2b52c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b52c0;
$custom-light: #7b82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52c0",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 224.295,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.17833,
    "h": 265.3
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#2B52C0
secondary
#CCB77B
accent
#BB41E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B52C0

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

Preview Lab → · Contrast checker → · Palette generator →

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