#2826A9#2826A9

#2826A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.199 H 272.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2826A9
RGBrgb(40, 38, 169)
HSLhsl(241, 63%, 41%)
HSVhsv(241, 78%, 66%)
CMYKcmyk(76.3%, 77.5%, 0%, 33.7%)
CIE-LABlab(25.87, 45.12, -68.60)
CIE-LCHlch(25.87, 82.11, 303.33°)
OKLaboklab(38.03% 0.0082 -0.1985)
OKLCHoklch(38.03% 0.199 272.4)
XYZxyz(8.7272, 4.7010, 37.9759)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826A9 #A7A926
analogous
#2665A9 #2826A9 #6926A9
triadic
#2826A9 #A92826 #26A928
tetradic
#2826A9 #A92665 #A7A926 #26A969
square
#2826A9 #A92665 #A7A926 #26A969
split-complementary
#2826A9 #A96926 #65A926
monochromatic
#101045 #1C1B77 #2826A9 #3C3AD3 #6D6CDE

Accessibility & contrast

On white

10.82
#2826A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2826A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826A9
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826A9#FFFFFF#000000##FFFFFF
##2826A91.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2826a9;
/* rgb */ color: rgb(40, 38, 169);
/* oklch */ color: oklch(38.0% 0.199 272.4);
Tailwind
colors: {
  custom: {
    50: '#7863c4',
    500: '#2826a9',
    950: '#000000',
  },
}
SCSS
$custom: #2826a9;
$custom-light: #7863c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2826a9",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 240.916,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38032,
    "c": 0.19872,
    "h": 272.4
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#2826A9
secondary
#C3C467
accent
#E641E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2826A9

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

Preview Lab → · Contrast checker → · Palette generator →

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