#2824B0#2824B0

#2824B0 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.209 H 272.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2824B0
RGBrgb(40, 36, 176)
HSLhsl(242, 66%, 42%)
HSVhsv(242, 80%, 69%)
CMYKcmyk(77.3%, 79.5%, 0%, 31%)
CIE-LABlab(26.29, 48.43, -72.10)
CIE-LCHlch(26.29, 86.86, 303.89°)
OKLaboklab(38.56% 0.0074 -0.2087)
OKLCHoklch(38.56% 0.209 272)
XYZxyz(9.3398, 4.8464, 41.5091)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2824B0 #ACB024
analogous
#2466B0 #2824B0 #6E24B0
triadic
#2824B0 #B02824 #24B028
tetradic
#2824B0 #B02466 #ACB024 #24B06E
square
#2824B0 #B02466 #ACB024 #24B06E
split-complementary
#2824B0 #B06E24 #66B024
monochromatic
#110F4A #1C1A7D #2824B0 #3F3AD7 #716DE1

Accessibility & contrast

On white

10.66
#2824B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2824B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2824B0
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2824B0#FFFFFF#000000##FFFFFF
##2824B01.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0037AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2824b0;
/* rgb */ color: rgb(40, 36, 176);
/* oklch */ color: oklch(38.6% 0.209 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a62c9',
    500: '#2824b0',
    950: '#000000',
  },
}
SCSS
$custom: #2824b0;
$custom-light: #7a62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2824b0",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 241.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38564,
    "c": 0.20881,
    "h": 272
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#2824B0
secondary
#C5C868
accent
#E93FE4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2824B0

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

Preview Lab → · Contrast checker → · Palette generator →

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