#2B52AB#2B52AB

#2B52AB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.150 H 263.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2B52AB
RGBrgb(43, 82, 171)
HSLhsl(222, 60%, 42%)
HSVhsv(222, 75%, 67%)
CMYKcmyk(74.9%, 52%, 0%, 32.9%)
CIE-LABlab(36.91, 18.26, -51.73)
CIE-LCHlch(36.91, 54.86, 289.44°)
OKLaboklab(46.25% -0.0163 -0.1488)
OKLCHoklch(46.25% 0.15 263.7)
XYZxyz(11.3616, 9.4872, 39.7526)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52AB #AB842B
analogous
#2B92AB #2B52AB #442BAB
triadic
#2B52AB #AB2B52 #52AB2B
tetradic
#2B52AB #AB2B92 #AB842B #2BAB44
square
#2B52AB #AB2B92 #AB842B #2BAB44
split-complementary
#2B52AB #AB442B #92AB2B
monochromatic
#122349 #1F3B7A #2B52AB #436ED0 #7494DC

Accessibility & contrast

On white

7.25
#2B52AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B52AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B52AB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52AB#FFFFFF#000000##FFFFFF
##2B52AB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b52ab;
/* rgb */ color: rgb(43, 82, 171);
/* oklch */ color: oklch(46.2% 0.150 263.7);
Tailwind
colors: {
  custom: {
    50: '#7682c5',
    500: '#2b52ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b52ab;
$custom-light: #7682c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52ab",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 221.719,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46247,
    "c": 0.1497,
    "h": 263.7
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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