#2826A1#2826A1

#2826A1 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.189 H 273.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2826A1
RGBrgb(40, 38, 161)
HSLhsl(241, 62%, 39%)
HSVhsv(241, 76%, 63%)
CMYKcmyk(75.2%, 76.4%, 0%, 36.9%)
CIE-LABlab(24.98, 42.47, -65.21)
CIE-LCHlch(24.98, 77.82, 303.07°)
OKLaboklab(37.15% 0.0098 -0.1887)
OKLCHoklch(37.15% 0.189 273)
XYZxyz(7.9991, 4.4097, 34.1409)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826A1 #9FA126
analogous
#2662A1 #2826A1 #6626A1
triadic
#2826A1 #A12826 #26A128
tetradic
#2826A1 #A12662 #9FA126 #26A166
square
#2826A1 #A12662 #9FA126 #26A166
split-complementary
#2826A1 #A16626 #62A126
monochromatic
#0F0F3E #1C1A6F #2826A1 #3735CF #6866DB

Accessibility & contrast

On white

11.16
#2826A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2826A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826A1
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826A1#FFFFFF#000000##FFFFFF
##2826A11.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2826a1;
/* rgb */ color: rgb(40, 38, 161);
/* oklch */ color: oklch(37.1% 0.189 273.0);
Tailwind
colors: {
  custom: {
    50: '#7662be',
    500: '#2826a1',
    950: '#000000',
  },
}
SCSS
$custom: #2826a1;
$custom-light: #7662be;
$custom-dark: #000000;
JSON
{
  "hex": "#2826a1",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 240.976,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37149,
    "c": 0.18896,
    "h": 273
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2826A1

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

Preview Lab → · Contrast checker → · Palette generator →

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