#2826C4#2826C4

#2826C4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.230 H 270.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2826C4
RGBrgb(40, 38, 196)
HSLhsl(241, 68%, 46%)
HSVhsv(241, 81%, 77%)
CMYKcmyk(79.6%, 80.6%, 0%, 23.1%)
CIE-LABlab(28.96, 53.72, -79.55)
CIE-LCHlch(28.96, 95.99, 304.03°)
OKLaboklab(41.1% 0.0026 -0.2303)
OKLCHoklch(41.1% 0.23 270.6)
XYZxyz(11.5286, 5.8215, 52.7299)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826C4 #C2C426
analogous
#2673C4 #2826C4 #7726C4
triadic
#2826C4 #C42826 #26C428
tetradic
#2826C4 #C42673 #C2C426 #26C477
square
#2826C4 #C42673 #C2C426 #26C477
split-complementary
#2826C4 #C47726 #73C426
monochromatic
#13125D #1E1C91 #2826C4 #4D4BDC #807EE6

Accessibility & contrast

On white

9.70
#2826C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2826C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826C4
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826C4#FFFFFF#000000##FFFFFF
##2826C41.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC8
Deuteranopia (green-blind)
#003CC1
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2826c4;
/* rgb */ color: rgb(40, 38, 196);
/* oklch */ color: oklch(41.1% 0.230 270.6);
Tailwind
colors: {
  custom: {
    50: '#7f64d7',
    500: '#2826c4',
    950: '#000000',
  },
}
SCSS
$custom: #2826c4;
$custom-light: #7f64d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2826c4",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 240.759,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41095,
    "c": 0.23029,
    "h": 270.6
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#2826C4
secondary
#CDCE77
accent
#EA3DE8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2826C4

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

Preview Lab → · Contrast checker → · Palette generator →

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