#2826A2#2826A2

#2826A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.190 H 272.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2826A2
RGBrgb(40, 38, 162)
HSLhsl(241, 62%, 39%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(75.3%, 76.5%, 0%, 36.5%)
CIE-LABlab(25.09, 42.80, -65.64)
CIE-LCHlch(25.09, 78.36, 303.11°)
OKLaboklab(37.26% 0.0096 -0.19)
OKLCHoklch(37.26% 0.19 272.9)
XYZxyz(8.0876, 4.4451, 34.6072)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826A2 #A0A226
analogous
#2662A2 #2826A2 #6626A2
triadic
#2826A2 #A22826 #26A228
tetradic
#2826A2 #A22662 #A0A226 #26A266
square
#2826A2 #A22662 #A0A226 #26A266
split-complementary
#2826A2 #A26626 #62A226
monochromatic
#100F3F #1C1A70 #2826A2 #3835D0 #6967DB

Accessibility & contrast

On white

11.12
#2826A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2826A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826A2
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826A2#FFFFFF#000000##FFFFFF
##2826A21.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2826a2;
/* rgb */ color: rgb(40, 38, 162);
/* oklch */ color: oklch(37.3% 0.190 272.9);
Tailwind
colors: {
  custom: {
    50: '#7762bf',
    500: '#2826a2',
    950: '#000000',
  },
}
SCSS
$custom: #2826a2;
$custom-light: #7762bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2826a2",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 240.968,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.1902,
    "h": 272.9
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#2826A2
secondary
#C0C163
accent
#E543E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2826A2

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

Preview Lab → · Contrast checker → · Palette generator →

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