#2B52D3#2B52D3

#2B52D3 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 49.5% C 0.203 H 266.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2B52D3
RGBrgb(43, 82, 211)
HSLhsl(226, 66%, 50%)
HSVhsv(226, 80%, 83%)
CMYKcmyk(79.6%, 61.1%, 0%, 17.3%)
CIE-LABlab(40.00, 33.36, -70.07)
CIE-LCHlch(40.00, 77.61, 295.46°)
OKLaboklab(49.54% -0.0142 -0.2027)
OKLCHoklch(49.54% 0.203 266)
XYZxyz(15.7673, 11.2495, 62.9557)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52D3 #D3AC2B
analogous
#2BA6D3 #2B52D3 #582BD3
triadic
#2B52D3 #D32B52 #52D32B
tetradic
#2B52D3 #D32BA6 #D3AC2B #2BD358
square
#2B52D3 #D32BA6 #D3AC2B #2BD358
split-complementary
#2B52D3 #D3582B #A6D32B
monochromatic
#162A6D #213EA0 #2B52D3 #5D7BDE #90A5E8

Accessibility & contrast

On white

6.46
#2B52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B52D3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52D3#FFFFFF#000000##FFFFFF
##2B52D31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b52d3;
/* rgb */ color: rgb(43, 82, 211);
/* oklch */ color: oklch(49.5% 0.203 266.0);
Tailwind
colors: {
  custom: {
    50: '#8082e2',
    500: '#2b52d3',
    950: '#000000',
  },
}
SCSS
$custom: #2b52d3;
$custom-light: #8082e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52d3",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 226.071,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.2032,
    "h": 266
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#2B52D3
secondary
#D3C187
accent
#C23FE9
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A15
muted
#7D7C84

Preview Lab

Preview with #2B52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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