#2826A7#2826A7

#2826A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.196 H 272.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2826A7
RGBrgb(40, 38, 167)
HSLhsl(241, 63%, 40%)
HSVhsv(241, 77%, 65%)
CMYKcmyk(76%, 77.2%, 0%, 34.5%)
CIE-LABlab(25.64, 44.46, -67.76)
CIE-LCHlch(25.64, 81.04, 303.27°)
OKLaboklab(37.81% 0.0086 -0.1961)
OKLCHoklch(37.81% 0.196 272.5)
XYZxyz(8.5409, 4.6265, 36.9946)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826A7 #A5A726
analogous
#2665A7 #2826A7 #6826A7
triadic
#2826A7 #A72826 #26A728
tetradic
#2826A7 #A72665 #A5A726 #26A768
square
#2826A7 #A72665 #A5A726 #26A768
split-complementary
#2826A7 #A76826 #65A726
monochromatic
#100F43 #1C1B75 #2826A7 #3B38D2 #6C6ADD

Accessibility & contrast

On white

10.91
#2826A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2826A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826A7
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826A7#FFFFFF#000000##FFFFFF
##2826A71.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2826a7;
/* rgb */ color: rgb(40, 38, 167);
/* oklch */ color: oklch(37.8% 0.196 272.5);
Tailwind
colors: {
  custom: {
    50: '#7863c2',
    500: '#2826a7',
    950: '#000000',
  },
}
SCSS
$custom: #2826a7;
$custom-light: #7863c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2826a7",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 240.93,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3781,
    "c": 0.1963,
    "h": 272.5
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#2826A7
secondary
#C2C365
accent
#E642E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2826A7

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

Preview Lab → · Contrast checker → · Palette generator →

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