#2826AC#2826AC

#2826AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.202 H 272.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2826AC
RGBrgb(40, 38, 172)
HSLhsl(241, 64%, 41%)
HSVhsv(241, 78%, 67%)
CMYKcmyk(76.7%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.20, 46.10, -69.85)
CIE-LCHlch(26.20, 83.69, 303.42°)
OKLaboklab(38.37% 0.0076 -0.2022)
OKLCHoklch(38.37% 0.202 272.1)
XYZxyz(9.0121, 4.8149, 39.4761)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826AC #AAAC26
analogous
#2667AC #2826AC #6B26AC
triadic
#2826AC #AC2826 #26AC28
tetradic
#2826AC #AC2667 #AAAC26 #26AC6B
square
#2826AC #AC2667 #AAAC26 #26AC6B
split-complementary
#2826AC #AC6B26 #67AC26
monochromatic
#111048 #1C1B7A #2826AC #3E3BD4 #6F6EDF

Accessibility & contrast

On white

10.70
#2826AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2826AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826AC
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826AC#FFFFFF#000000##FFFFFF
##2826AC1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2826ac;
/* rgb */ color: rgb(40, 38, 172);
/* oklch */ color: oklch(38.4% 0.202 272.1);
Tailwind
colors: {
  custom: {
    50: '#7963c6',
    500: '#2826ac',
    950: '#000000',
  },
}
SCSS
$custom: #2826ac;
$custom-light: #7963c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2826ac",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 240.896,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38367,
    "c": 0.20232,
    "h": 272.1
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#2826AC
secondary
#C4C568
accent
#E741E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2826AC

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

Preview Lab → · Contrast checker → · Palette generator →

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