#2824BB#2824BB

#2824BB is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.222 H 271.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2824BB
RGBrgb(40, 36, 187)
HSLhsl(242, 68%, 44%)
HSVhsv(242, 81%, 73%)
CMYKcmyk(78.6%, 80.7%, 0%, 26.7%)
CIE-LABlab(27.57, 51.89, -76.53)
CIE-LCHlch(27.57, 92.47, 304.14°)
OKLaboklab(39.83% 0.005 -0.2215)
OKLCHoklch(39.83% 0.222 271.3)
XYZxyz(10.4726, 5.2996, 47.4750)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2824BB #B7BB24
analogous
#246BBB #2824BB #7324BB
triadic
#2824BB #BB2824 #24BB28
tetradic
#2824BB #BB246B #B7BB24 #24BB73
square
#2824BB #BB246B #B7BB24 #24BB73
split-complementary
#2824BB #BB7324 #6BBB24
monochromatic
#121054 #1D1A88 #2824BB #4642DB #7875E4

Accessibility & contrast

On white

10.19
#2824BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2824BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2824BB
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2824BB#FFFFFF#000000##FFFFFF
##2824BB1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#0039B8
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2824bb;
/* rgb */ color: rgb(40, 36, 187);
/* oklch */ color: oklch(39.8% 0.222 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d63d1',
    500: '#2824bb',
    950: '#000000',
  },
}
SCSS
$custom: #2824bb;
$custom-light: #7d63d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2824bb",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 241.589,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.22159,
    "h": 271.3
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#2824BB
secondary
#C9CC6F
accent
#EB3DE6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2824BB

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

Preview Lab → · Contrast checker → · Palette generator →

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