#2B52BD#2B52BD

#2B52BD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.174 H 265.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2B52BD
RGBrgb(43, 82, 189)
HSLhsl(224, 63%, 45%)
HSVhsv(224, 77%, 74%)
CMYKcmyk(77.2%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.24, 25.13, -60.18)
CIE-LCHlch(38.24, 65.22, 292.66°)
OKLaboklab(47.67% -0.0148 -0.1737)
OKLCHoklch(47.67% 0.174 265.1)
XYZxyz(13.1956, 10.2208, 49.4116)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52BD #BD962B
analogous
#2B9BBD #2B52BD #4D2BBD
triadic
#2B52BD #BD2B52 #52BD2B
tetradic
#2B52BD #BD2B9B #BD962B #2BBD4D
square
#2B52BD #BD2B9B #BD962B #2BBD4D
split-complementary
#2B52BD #BD4D2B #9BBD2B
monochromatic
#142759 #203C8B #2B52BD #4E73D7 #809AE2

Accessibility & contrast

On white

6.90
#2B52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2B52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B52BD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52BD#FFFFFF#000000##FFFFFF
##2B52BD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b52bd;
/* rgb */ color: rgb(43, 82, 189);
/* oklch */ color: oklch(47.7% 0.174 265.1);
Tailwind
colors: {
  custom: {
    50: '#7b82d2',
    500: '#2b52bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b52bd;
$custom-light: #7b82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52bd",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 223.973,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.17431,
    "h": 265.1
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#2B52BD
secondary
#CBB579
accent
#BA42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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