#2B52B8#2B52B8

#2B52B8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.168 H 264.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2B52B8
RGBrgb(43, 82, 184)
HSLhsl(223, 62%, 45%)
HSVhsv(223, 77%, 72%)
CMYKcmyk(76.6%, 55.4%, 0%, 27.8%)
CIE-LABlab(37.86, 23.23, -57.87)
CIE-LCHlch(37.86, 62.36, 291.87°)
OKLaboklab(47.27% -0.0151 -0.1669)
OKLCHoklch(47.27% 0.168 264.8)
XYZxyz(12.6622, 10.0074, 46.6024)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B52B8 #B8912B
analogous
#2B99B8 #2B52B8 #4A2BB8
triadic
#2B52B8 #B82B52 #52B82B
tetradic
#2B52B8 #B82B99 #B8912B #2BB84A
square
#2B52B8 #B82B99 #B8912B #2BB84A
split-complementary
#2B52B8 #B84A2B #99B82B
monochromatic
#142655 #1F3C86 #2B52B8 #4B71D5 #7D98E1

Accessibility & contrast

On white

7.00
#2B52B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2B52B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B52B8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B52B8#FFFFFF#000000##FFFFFF
##2B52B81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b52b8;
/* rgb */ color: rgb(43, 82, 184);
/* oklch */ color: oklch(47.3% 0.168 264.8);
Tailwind
colors: {
  custom: {
    50: '#7982ce',
    500: '#2b52b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b52b8;
$custom-light: #7982ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b52b8",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 223.404,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47267,
    "c": 0.16757,
    "h": 264.8
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#2B52B8
secondary
#C9B276
accent
#B843E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2B52B8

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

Preview Lab → · Contrast checker → · Palette generator →

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