#2824A6#2824A6

#2824A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.197 H 272.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2824A6
RGBrgb(40, 36, 166)
HSLhsl(242, 64%, 40%)
HSVhsv(242, 78%, 65%)
CMYKcmyk(75.9%, 78.3%, 0%, 34.9%)
CIE-LABlab(25.15, 45.21, -67.97)
CIE-LCHlch(25.15, 81.63, 303.63°)
OKLaboklab(37.43% 0.0096 -0.1967)
OKLCHoklch(37.43% 0.197 272.8)
XYZxyz(8.3866, 4.4652, 36.4889)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2824A6 #A2A624
analogous
#2461A6 #2824A6 #6924A6
triadic
#2824A6 #A62824 #24A628
tetradic
#2824A6 #A62461 #A2A624 #24A669
square
#2824A6 #A62461 #A2A624 #24A669
split-complementary
#2824A6 #A66924 #61A624
monochromatic
#100E41 #1C1974 #2824A6 #3934D3 #6A66DE

Accessibility & contrast

On white

11.09
#2824A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2824A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2824A6
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2824A6#FFFFFF#000000##FFFFFF
##2824A61.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2824a6;
/* rgb */ color: rgb(40, 36, 166);
/* oklch */ color: oklch(37.4% 0.197 272.8);
Tailwind
colors: {
  custom: {
    50: '#7861c2',
    500: '#2824a6',
    950: '#000000',
  },
}
SCSS
$custom: #2824a6;
$custom-light: #7861c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2824a6",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 241.846,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.19692,
    "h": 272.8
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#2824A6
secondary
#C1C462
accent
#E740E2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2824A6

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

Preview Lab → · Contrast checker → · Palette generator →

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