#2852BB#2852BB

#2852BB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.172 H 264.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2852BB
RGBrgb(40, 82, 187)
HSLhsl(223, 65%, 45%)
HSVhsv(223, 79%, 73%)
CMYKcmyk(78.6%, 56.1%, 0%, 26.7%)
CIE-LABlab(37.97, 24.04, -59.45)
CIE-LCHlch(37.97, 64.12, 292.02°)
OKLaboklab(47.4% -0.0172 -0.1716)
OKLCHoklch(47.4% 0.172 264.3)
XYZxyz(12.8588, 10.0721, 48.2705)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2852BB #BB9128
analogous
#289CBB #2852BB #4728BB
triadic
#2852BB #BB2852 #52BB28
tetradic
#2852BB #BB289C #BB9128 #28BB47
square
#2852BB #BB289C #BB9128 #28BB47
split-complementary
#2852BB #BB4728 #9CBB28
monochromatic
#122656 #1D3C89 #2852BB #4871D8 #7B98E3

Accessibility & contrast

On white

6.97
#2852BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2852BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2852BB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2852BB#FFFFFF#000000##FFFFFF
##2852BB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2852bb;
/* rgb */ color: rgb(40, 82, 187);
/* oklch */ color: oklch(47.4% 0.172 264.3);
Tailwind
colors: {
  custom: {
    50: '#7982d0',
    500: '#2852bb',
    950: '#000000',
  },
}
SCSS
$custom: #2852bb;
$custom-light: #7982d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2852bb",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 222.857,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.17243,
    "h": 264.3
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#2852BB
secondary
#CBB274
accent
#B840E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2852BB

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

Preview Lab → · Contrast checker → · Palette generator →

#2852BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva