#2824BD#2824BD

#2824BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.224 H 271.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2824BD
RGBrgb(40, 36, 189)
HSLhsl(242, 68%, 44%)
HSVhsv(242, 81%, 74%)
CMYKcmyk(78.8%, 81%, 0%, 25.9%)
CIE-LABlab(27.81, 52.52, -77.33)
CIE-LCHlch(27.81, 93.47, 304.18°)
OKLaboklab(40.06% 0.0045 -0.2238)
OKLCHoklch(40.06% 0.224 271.2)
XYZxyz(10.6882, 5.3858, 48.6105)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2824BD #B9BD24
analogous
#246CBD #2824BD #7524BD
triadic
#2824BD #BD2824 #24BD28
tetradic
#2824BD #BD246C #B9BD24 #24BD75
square
#2824BD #BD246C #B9BD24 #24BD75
split-complementary
#2824BD #BD7524 #6CBD24
monochromatic
#121056 #1D1A8A #2824BD #4743DB #7976E5

Accessibility & contrast

On white

10.11
#2824BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2824BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2824BD
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2824BD#FFFFFF#000000##FFFFFF
##2824BD1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2824bd;
/* rgb */ color: rgb(40, 36, 189);
/* oklch */ color: oklch(40.1% 0.224 271.2);
Tailwind
colors: {
  custom: {
    50: '#7e63d2',
    500: '#2824bd',
    950: '#000000',
  },
}
SCSS
$custom: #2824bd;
$custom-light: #7e63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2824bd",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 241.569,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.22388,
    "h": 271.2
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2824BD

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

Preview Lab → · Contrast checker → · Palette generator →

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