#2826A3#2826A3

#2826A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.191 H 272.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2826A3
RGBrgb(40, 38, 163)
HSLhsl(241, 62%, 39%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(75.5%, 76.7%, 0%, 36.1%)
CIE-LABlab(25.20, 43.13, -66.07)
CIE-LCHlch(25.20, 78.90, 303.14°)
OKLaboklab(37.37% 0.0094 -0.1912)
OKLCHoklch(37.37% 0.191 272.8)
XYZxyz(8.1768, 4.4808, 35.0772)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826A3 #A1A326
analogous
#2663A3 #2826A3 #6726A3
triadic
#2826A3 #A32826 #26A328
tetradic
#2826A3 #A32663 #A1A326 #26A367
square
#2826A3 #A32663 #A1A326 #26A367
split-complementary
#2826A3 #A36726 #63A326
monochromatic
#100F40 #1C1A71 #2826A3 #3936D0 #6A68DC

Accessibility & contrast

On white

11.07
#2826A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2826A3
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826A3#FFFFFF#000000##FFFFFF
##2826A31.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2826a3;
/* rgb */ color: rgb(40, 38, 163);
/* oklch */ color: oklch(37.4% 0.191 272.8);
Tailwind
colors: {
  custom: {
    50: '#7762c0',
    500: '#2826a3',
    950: '#000000',
  },
}
SCSS
$custom: #2826a3;
$custom-light: #7762c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2826a3",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 240.96,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37369,
    "c": 0.19142,
    "h": 272.8
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#2826A3
secondary
#C0C263
accent
#E543E3
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2826A3

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

Preview Lab → · Contrast checker → · Palette generator →

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