#2852A0#2852A0

#2852A0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.135 H 261.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2852A0
RGBrgb(40, 82, 160)
HSLhsl(219, 60%, 39%)
HSVhsv(219, 75%, 63%)
CMYKcmyk(75%, 48.8%, 0%, 37.3%)
CIE-LABlab(36.03, 13.62, -46.58)
CIE-LCHlch(36.03, 48.53, 286.30°)
OKLaboklab(45.3% -0.0201 -0.1337)
OKLCHoklch(45.3% 0.135 261.4)
XYZxyz(10.2352, 9.0226, 34.4530)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2852A0 #A07628
analogous
#288EA0 #2852A0 #3A28A0
triadic
#2852A0 #A02852 #52A028
tetradic
#2852A0 #A0288E #A07628 #28A03A
square
#2852A0 #A0288E #A07628 #28A03A
split-complementary
#2852A0 #A03A28 #8EA028
monochromatic
#10203E #1C396F #2852A0 #386CCD #6990D9

Accessibility & contrast

On white

7.49
#2852A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2852A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2852A0
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2852A0#FFFFFF#000000##FFFFFF
##2852A01.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA3
Deuteranopia (green-blind)
#01509E
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2852a0;
/* rgb */ color: rgb(40, 82, 160);
/* oklch */ color: oklch(45.3% 0.135 261.4);
Tailwind
colors: {
  custom: {
    50: '#7382bd',
    500: '#2852a0',
    950: '#000000',
  },
}
SCSS
$custom: #2852a0;
$custom-light: #7382bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2852a0",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 160
  },
  "hsl": {
    "h": 219,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45301,
    "c": 0.13523,
    "h": 261.4
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#2852A0
secondary
#C0A064
accent
#AC45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2852A0

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

Preview Lab → · Contrast checker → · Palette generator →

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