#2826C1#2826C1

#2826C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.227 H 270.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2826C1
RGBrgb(40, 38, 193)
HSLhsl(241, 67%, 45%)
HSVhsv(241, 80%, 76%)
CMYKcmyk(79.3%, 80.3%, 0%, 24.3%)
CIE-LABlab(28.61, 52.79, -78.36)
CIE-LCHlch(28.61, 94.49, 303.97°)
OKLaboklab(40.75% 0.0032 -0.2269)
OKLCHoklch(40.75% 0.227 270.8)
XYZxyz(11.1906, 5.6863, 50.9495)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826C1 #BFC126
analogous
#2672C1 #2826C1 #7526C1
triadic
#2826C1 #C12826 #26C128
tetradic
#2826C1 #C12672 #BFC126 #26C175
square
#2826C1 #C12672 #BFC126 #26C175
split-complementary
#2826C1 #C17526 #72C126
monochromatic
#13125B #1D1C8E #2826C1 #4B49DB #7E7CE5

Accessibility & contrast

On white

9.82
#2826C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2826C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826C1
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826C1#FFFFFF#000000##FFFFFF
##2826C11.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2826c1;
/* rgb */ color: rgb(40, 38, 193);
/* oklch */ color: oklch(40.8% 0.227 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e64d5',
    500: '#2826c1',
    950: '#000000',
  },
}
SCSS
$custom: #2826c1;
$custom-light: #7e64d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2826c1",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 240.774,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4075,
    "c": 0.22688,
    "h": 270.8
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#2826C1
secondary
#CCCD75
accent
#EA3EE8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2826C1

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

Preview Lab → · Contrast checker → · Palette generator →

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