#2B52AD#2B52AD

#2B52AD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.152 H 263.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2B52AD
RGBrgb(43, 82, 173)
HSLhsl(222, 60%, 42%)
HSVhsv(222, 75%, 68%)
CMYKcmyk(75.1%, 52.6%, 0%, 32.2%)
CIE-LABlab(37.05, 19.03, -52.68)
CIE-LCHlch(37.05, 56.01, 289.86°)
OKLaboklab(46.4% -0.0161 -0.1516)
OKLCHoklch(46.4% 0.152 263.9)
XYZxyz(11.5537, 9.5640, 40.7642)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52AD #AD862B
analogous
#2B93AD #2B52AD #452BAD
triadic
#2B52AD #AD2B52 #52AD2B
tetradic
#2B52AD #AD2B93 #AD862B #2BAD45
square
#2B52AD #AD2B93 #AD862B #2BAD45
split-complementary
#2B52AD #AD452B #93AD2B
monochromatic
#13244B #1F3B7C #2B52AD #456FD1 #7695DD

Accessibility & contrast

On white

7.21
#2B52AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2B52AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B52AD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52AD#FFFFFF#000000##FFFFFF
##2B52AD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DB0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b52ad;
/* rgb */ color: rgb(43, 82, 173);
/* oklch */ color: oklch(46.4% 0.152 263.9);
Tailwind
colors: {
  custom: {
    50: '#7782c6',
    500: '#2b52ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b52ad;
$custom-light: #7782c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52ad",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 222,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.464,
    "c": 0.15248,
    "h": 263.9
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#2B52AD
secondary
#C4AB6F
accent
#B444E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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