#2826A4#2826A4

#2826A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.193 H 272.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2826A4
RGBrgb(40, 38, 164)
HSLhsl(241, 62%, 40%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(75.6%, 76.8%, 0%, 35.7%)
CIE-LABlab(25.31, 43.47, -66.49)
CIE-LCHlch(25.31, 79.44, 303.17°)
OKLaboklab(37.48% 0.0092 -0.1924)
OKLCHoklch(37.48% 0.193 272.7)
XYZxyz(8.2668, 4.5168, 35.5509)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826A4 #A2A426
analogous
#2663A4 #2826A4 #6726A4
triadic
#2826A4 #A42826 #26A428
tetradic
#2826A4 #A42663 #A2A426 #26A467
square
#2826A4 #A42663 #A2A426 #26A467
split-complementary
#2826A4 #A46726 #63A426
monochromatic
#100F41 #1C1A72 #2826A4 #3937D1 #6A68DC

Accessibility & contrast

On white

11.03
#2826A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2826A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826A4
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826A4#FFFFFF#000000##FFFFFF
##2826A41.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2826a4;
/* rgb */ color: rgb(40, 38, 164);
/* oklch */ color: oklch(37.5% 0.193 272.7);
Tailwind
colors: {
  custom: {
    50: '#7762c0',
    500: '#2826a4',
    950: '#000000',
  },
}
SCSS
$custom: #2826a4;
$custom-light: #7762c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2826a4",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 240.952,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37479,
    "c": 0.19265,
    "h": 272.7
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#2826A4
secondary
#C1C264
accent
#E542E3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2826A4

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

Preview Lab → · Contrast checker → · Palette generator →

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