#2B52AC#2B52AC

#2B52AC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.151 H 263.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2B52AC
RGBrgb(43, 82, 172)
HSLhsl(222, 60%, 42%)
HSVhsv(222, 75%, 67%)
CMYKcmyk(75%, 52.3%, 0%, 32.5%)
CIE-LABlab(36.98, 18.64, -52.21)
CIE-LCHlch(36.98, 55.43, 289.65°)
OKLaboklab(46.32% -0.0162 -0.1502)
OKLCHoklch(46.32% 0.151 263.8)
XYZxyz(11.4573, 9.5255, 40.2565)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52AC #AC852B
analogous
#2B93AC #2B52AC #442BAC
triadic
#2B52AC #AC2B52 #52AC2B
tetradic
#2B52AC #AC2B93 #AC852B #2BAC44
square
#2B52AC #AC2B93 #AC852B #2BAC44
split-complementary
#2B52AC #AC442B #93AC2B
monochromatic
#13234A #1F3B7B #2B52AC #446ED0 #7594DC

Accessibility & contrast

On white

7.23
#2B52AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B52AC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52AC#FFFFFF#000000##FFFFFF
##2B52AC1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b52ac;
/* rgb */ color: rgb(43, 82, 172);
/* oklch */ color: oklch(46.3% 0.151 263.8);
Tailwind
colors: {
  custom: {
    50: '#7782c5',
    500: '#2b52ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b52ac;
$custom-light: #7782c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52ac",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 221.86,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46323,
    "c": 0.15109,
    "h": 263.8
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#2B52AC
secondary
#C4AA6F
accent
#B345E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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