#2826AE#2826AE

#2826AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.205 H 272.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2826AE
RGBrgb(40, 38, 174)
HSLhsl(241, 64%, 42%)
HSVhsv(241, 78%, 68%)
CMYKcmyk(77%, 78.2%, 0%, 31.8%)
CIE-LABlab(26.43, 46.75, -70.68)
CIE-LCHlch(26.43, 84.74, 303.48°)
OKLaboklab(38.59% 0.0072 -0.2046)
OKLCHoklch(38.59% 0.205 272)
XYZxyz(9.2056, 4.8923, 40.4953)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826AE #ACAE26
analogous
#2668AE #2826AE #6C26AE
triadic
#2826AE #AE2826 #26AE28
tetradic
#2826AE #AE2668 #ACAE26 #26AE6C
square
#2826AE #AE2668 #ACAE26 #26AE6C
split-complementary
#2826AE #AE6C26 #68AE26
monochromatic
#11104A #1C1B7C #2826AE #3F3DD5 #716FE0

Accessibility & contrast

On white

10.61
#2826AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2826AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826AE
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826AE#FFFFFF#000000##FFFFFF
##2826AE1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2826ae;
/* rgb */ color: rgb(40, 38, 174);
/* oklch */ color: oklch(38.6% 0.205 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a63c8',
    500: '#2826ae',
    950: '#000000',
  },
}
SCSS
$custom: #2826ae;
$custom-light: #7a63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2826ae",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 240.882,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.20471,
    "h": 272
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#2826AE
secondary
#C5C66A
accent
#E741E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2826AE

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

Preview Lab → · Contrast checker → · Palette generator →

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