#2820BD#2820BD

#2820BD is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.6% C 0.227 H 271.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2820BD
RGBrgb(40, 32, 189)
HSLhsl(243, 71%, 43%)
HSVhsv(243, 83%, 74%)
CMYKcmyk(78.8%, 83.1%, 0%, 25.9%)
CIE-LABlab(27.18, 54.36, -78.37)
CIE-LCHlch(27.18, 95.38, 304.75°)
OKLaboklab(39.62% 0.0055 -0.2268)
OKLCHoklch(39.62% 0.227 271.4)
XYZxyz(10.5738, 5.1571, 48.5724)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2820BD #B5BD20
analogous
#2067BD #2820BD #7620BD
triadic
#2820BD #BD2820 #20BD28
tetradic
#2820BD #BD2067 #B5BD20 #20BD76
square
#2820BD #BD2067 #B5BD20 #20BD76
split-complementary
#2820BD #BD7620 #67BD20
monochromatic
#120E54 #1D1789 #2820BD #443CDE #7771E7

Accessibility & contrast

On white

10.34
#2820BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2820BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2820BD
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2820BD#FFFFFF#000000##FFFFFF
##2820BD1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0038BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2820bd;
/* rgb */ color: rgb(40, 32, 189);
/* oklch */ color: oklch(39.6% 0.227 271.4);
Tailwind
colors: {
  custom: {
    50: '#7e61d2',
    500: '#2820bd',
    950: '#000000',
  },
}
SCSS
$custom: #2820bd;
$custom-light: #7e61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2820bd",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 243.057,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.22685,
    "h": 271.4
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#2820BD
secondary
#C8CD6B
accent
#EE3AE5
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2820BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2820BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva