#2852A9#2852A9

#2852A9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.148 H 262.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2852A9
RGBrgb(40, 82, 169)
HSLhsl(220, 62%, 41%)
HSVhsv(220, 76%, 66%)
CMYKcmyk(76.3%, 51.5%, 0%, 33.7%)
CIE-LABlab(36.65, 17.11, -50.96)
CIE-LCHlch(36.65, 53.76, 288.56°)
OKLaboklab(45.97% -0.0189 -0.1466)
OKLCHoklch(45.97% 0.148 262.7)
XYZxyz(11.0512, 9.3490, 38.7505)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2852A9 #A97F28
analogous
#2892A9 #2852A9 #3E28A9
triadic
#2852A9 #A92852 #52A928
tetradic
#2852A9 #A92892 #A97F28 #28A93E
square
#2852A9 #A92892 #A97F28 #28A93E
split-complementary
#2852A9 #A93E28 #92A928
monochromatic
#112246 #1C3A78 #2852A9 #3D6DD1 #6F92DD

Accessibility & contrast

On white

7.32
#2852A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2852A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2852A9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2852A9#FFFFFF#000000##FFFFFF
##2852A91.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2852a9;
/* rgb */ color: rgb(40, 82, 169);
/* oklch */ color: oklch(46.0% 0.148 262.7);
Tailwind
colors: {
  custom: {
    50: '#7582c3',
    500: '#2852a9',
    950: '#000000',
  },
}
SCSS
$custom: #2852a9;
$custom-light: #7582c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2852a9",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 220.465,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45973,
    "c": 0.14782,
    "h": 262.7
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

primary
#2852A9
secondary
#C4A669
accent
#B043E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2852A9

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

Preview Lab → · Contrast checker → · Palette generator →

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