#2826B1#2826B1

#2826B1 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.208 H 271.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2826B1
RGBrgb(40, 38, 177)
HSLhsl(241, 65%, 42%)
HSVhsv(241, 79%, 69%)
CMYKcmyk(77.4%, 78.5%, 0%, 30.6%)
CIE-LABlab(26.76, 47.72, -71.92)
CIE-LCHlch(26.76, 86.31, 303.57°)
OKLaboklab(38.93% 0.0065 -0.2082)
OKLCHoklch(38.93% 0.208 271.8)
XYZxyz(9.5013, 5.0106, 42.0528)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826B1 #AFB126
analogous
#266AB1 #2826B1 #6D26B1
triadic
#2826B1 #B12826 #26B128
tetradic
#2826B1 #B1266A #AFB126 #26B16D
square
#2826B1 #B1266A #AFB126 #26B16D
split-complementary
#2826B1 #B16D26 #6AB126
monochromatic
#11104C #1D1B7F #2826B1 #413FD6 #7371E0

Accessibility & contrast

On white

10.49
#2826B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2826B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826B1
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826B1#FFFFFF#000000##FFFFFF
##2826B11.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2826b1;
/* rgb */ color: rgb(40, 38, 177);
/* oklch */ color: oklch(38.9% 0.208 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a63ca',
    500: '#2826b1',
    950: '#000000',
  },
}
SCSS
$custom: #2826b1;
$custom-light: #7a63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2826b1",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 240.863,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.20828,
    "h": 271.8
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#2826B1
secondary
#C6C76B
accent
#E840E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2826B1

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

Preview Lab → · Contrast checker → · Palette generator →

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