#2826C5#2826C5

#2826C5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.2% C 0.231 H 270.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2826C5
RGBrgb(40, 38, 197)
HSLhsl(241, 68%, 46%)
HSVhsv(241, 81%, 77%)
CMYKcmyk(79.7%, 80.7%, 0%, 22.7%)
CIE-LABlab(29.07, 54.03, -79.94)
CIE-LCHlch(29.07, 96.49, 304.05°)
OKLaboklab(41.21% 0.0023 -0.2314)
OKLCHoklch(41.21% 0.231 270.6)
XYZxyz(11.6428, 5.8672, 53.3314)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826C5 #C3C526
analogous
#2673C5 #2826C5 #7726C5
triadic
#2826C5 #C52826 #26C528
tetradic
#2826C5 #C52673 #C3C526 #26C577
square
#2826C5 #C52673 #C3C526 #26C577
split-complementary
#2826C5 #C57726 #73C526
monochromatic
#13125E #1E1C92 #2826C5 #4E4CDC #807FE6

Accessibility & contrast

On white

9.66
#2826C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2826C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826C5
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826C5#FFFFFF#000000##FFFFFF
##2826C51.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC9
Deuteranopia (green-blind)
#003CC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2826c5;
/* rgb */ color: rgb(40, 38, 197);
/* oklch */ color: oklch(41.2% 0.231 270.6);
Tailwind
colors: {
  custom: {
    50: '#7f65d8',
    500: '#2826c5',
    950: '#000000',
  },
}
SCSS
$custom: #2826c5;
$custom-light: #7f65d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2826c5",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 240.755,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.23143,
    "h": 270.6
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#2826C5
secondary
#CECF78
accent
#EB3DE8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2826C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2826C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva