#2B52A8#2B52A8

#2B52A8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.146 H 263.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2B52A8
RGBrgb(43, 82, 168)
HSLhsl(221, 59%, 41%)
HSVhsv(221, 74%, 66%)
CMYKcmyk(74.4%, 51.2%, 0%, 34.1%)
CIE-LABlab(36.69, 17.11, -50.28)
CIE-LCHlch(36.69, 53.11, 288.79°)
OKLaboklab(46.02% -0.0167 -0.1446)
OKLCHoklch(46.02% 0.146 263.4)
XYZxyz(11.0789, 9.3741, 38.2637)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52A8 #A8812B
analogous
#2B91A8 #2B52A8 #432BA8
triadic
#2B52A8 #A82B52 #52A82B
tetradic
#2B52A8 #A82B91 #A8812B #2BA843
square
#2B52A8 #A82B91 #A8812B #2BA843
split-complementary
#2B52A8 #A8432B #91A82B
monochromatic
#122247 #1F3A77 #2B52A8 #426ECF #7293DB

Accessibility & contrast

On white

7.30
#2B52A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2B52A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B52A8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52A8#FFFFFF#000000##FFFFFF
##2B52A81.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5CAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b52a8;
/* rgb */ color: rgb(43, 82, 168);
/* oklch */ color: oklch(46.0% 0.146 263.4);
Tailwind
colors: {
  custom: {
    50: '#7682c2',
    500: '#2b52a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b52a8;
$custom-light: #7682c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52a8",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 221.28,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.14553,
    "h": 263.4
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#2B52A8
secondary
#C2A86C
accent
#B145E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2B52A8

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

Preview Lab → · Contrast checker → · Palette generator →

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