#2B52A4#2B52A4

#2B52A4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.140 H 262.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2B52A4
RGBrgb(43, 82, 164)
HSLhsl(221, 58%, 41%)
HSVhsv(221, 74%, 64%)
CMYKcmyk(73.8%, 50%, 0%, 35.7%)
CIE-LABlab(36.42, 15.58, -48.34)
CIE-LCHlch(36.42, 50.79, 287.86°)
OKLaboklab(45.72% -0.0172 -0.1389)
OKLCHoklch(45.72% 0.14 262.9)
XYZxyz(10.7120, 9.2274, 36.3313)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52A4 #A47D2B
analogous
#2B8EA4 #2B52A4 #402BA4
triadic
#2B52A4 #A42B52 #52A42B
tetradic
#2B52A4 #A42B8E #A47D2B #2BA440
square
#2B52A4 #A42B8E #A47D2B #2BA440
split-complementary
#2B52A4 #A4402B #8EA42B
monochromatic
#122243 #1E3A74 #2B52A4 #3F6DCD #7092D9

Accessibility & contrast

On white

7.38
#2B52A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2B52A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B52A4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52A4#FFFFFF#000000##FFFFFF
##2B52A41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b52a4;
/* rgb */ color: rgb(43, 82, 164);
/* oklch */ color: oklch(45.7% 0.140 262.9);
Tailwind
colors: {
  custom: {
    50: '#7582bf',
    500: '#2b52a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b52a4;
$custom-light: #7582bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52a4",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 220.661,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.13992,
    "h": 262.9
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#2B52A4
secondary
#C1A56A
accent
#B046E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B52A4

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

Preview Lab → · Contrast checker → · Palette generator →

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