#2B52B9#2B52B9

#2B52B9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.169 H 264.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2B52B9
RGBrgb(43, 82, 185)
HSLhsl(224, 62%, 45%)
HSVhsv(224, 77%, 73%)
CMYKcmyk(76.8%, 55.7%, 0%, 27.5%)
CIE-LABlab(37.93, 23.61, -58.33)
CIE-LCHlch(37.93, 62.93, 292.03°)
OKLaboklab(47.35% -0.0151 -0.1682)
OKLCHoklch(47.35% 0.169 264.9)
XYZxyz(12.7674, 10.0495, 47.1564)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52B9 #B9922B
analogous
#2B99B9 #2B52B9 #4B2BB9
triadic
#2B52B9 #B92B52 #52B92B
tetradic
#2B52B9 #B92B99 #B9922B #2BB94B
square
#2B52B9 #B92B99 #B9922B #2BB94B
split-complementary
#2B52B9 #B94B2B #99B92B
monochromatic
#142656 #1F3C87 #2B52B9 #4C72D5 #7E99E1

Accessibility & contrast

On white

6.98
#2B52B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B52B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B52B9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52B9#FFFFFF#000000##FFFFFF
##2B52B91.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b52b9;
/* rgb */ color: rgb(43, 82, 185);
/* oklch */ color: oklch(47.3% 0.169 264.9);
Tailwind
colors: {
  custom: {
    50: '#7a82cf',
    500: '#2b52b9',
    950: '#000000',
  },
}
SCSS
$custom: #2b52b9;
$custom-light: #7a82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52b9",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 223.521,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47348,
    "c": 0.16892,
    "h": 264.9
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#2B52B9
secondary
#C9B376
accent
#B942E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2B52B9

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

Preview Lab → · Contrast checker → · Palette generator →

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