#2824A8#2824A8

#2824A8 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.7% C 0.199 H 272.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2824A8
RGBrgb(40, 36, 168)
HSLhsl(242, 65%, 40%)
HSVhsv(242, 79%, 66%)
CMYKcmyk(76.2%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.38, 45.86, -68.80)
CIE-LCHlch(25.38, 82.69, 303.69°)
OKLaboklab(37.66% 0.0092 -0.1991)
OKLCHoklch(37.66% 0.199 272.6)
XYZxyz(8.5715, 4.5391, 37.4626)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2824A8 #A4A824
analogous
#2462A8 #2824A8 #6A24A8
triadic
#2824A8 #A82824 #24A828
tetradic
#2824A8 #A82462 #A4A824 #24A86A
square
#2824A8 #A82462 #A4A824 #24A86A
split-complementary
#2824A8 #A86A24 #62A824
monochromatic
#100E43 #1C1976 #2824A8 #3A35D4 #6B68DF

Accessibility & contrast

On white

11.01
#2824A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2824A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2824A8
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2824A8#FFFFFF#000000##FFFFFF
##2824A81.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2824a8;
/* rgb */ color: rgb(40, 36, 168);
/* oklch */ color: oklch(37.7% 0.199 272.6);
Tailwind
colors: {
  custom: {
    50: '#7861c3',
    500: '#2824a8',
    950: '#000000',
  },
}
SCSS
$custom: #2824a8;
$custom-light: #7861c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2824a8",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 241.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.37658,
    "c": 0.19932,
    "h": 272.6
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#2824A8
secondary
#C1C463
accent
#E840E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2824A8

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

Preview Lab → · Contrast checker → · Palette generator →

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