#2826A5#2826A5

#2826A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.194 H 272.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2826A5
RGBrgb(40, 38, 165)
HSLhsl(241, 63%, 40%)
HSVhsv(241, 77%, 65%)
CMYKcmyk(75.8%, 77%, 0%, 35.3%)
CIE-LABlab(25.42, 43.80, -66.92)
CIE-LCHlch(25.42, 79.97, 303.20°)
OKLaboklab(37.59% 0.009 -0.1937)
OKLCHoklch(37.59% 0.194 272.7)
XYZxyz(8.3574, 4.5531, 36.0284)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826A5 #A3A526
analogous
#2663A5 #2826A5 #6826A5
triadic
#2826A5 #A52826 #26A528
tetradic
#2826A5 #A52663 #A3A526 #26A568
square
#2826A5 #A52663 #A3A526 #26A568
split-complementary
#2826A5 #A56826 #63A526
monochromatic
#100F42 #1C1B73 #2826A5 #3A37D1 #6B69DC

Accessibility & contrast

On white

10.99
#2826A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2826A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826A5
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826A5#FFFFFF#000000##FFFFFF
##2826A51.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2826a5;
/* rgb */ color: rgb(40, 38, 165);
/* oklch */ color: oklch(37.6% 0.194 272.7);
Tailwind
colors: {
  custom: {
    50: '#7762c1',
    500: '#2826a5',
    950: '#000000',
  },
}
SCSS
$custom: #2826a5;
$custom-light: #7762c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2826a5",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 240.945,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37589,
    "c": 0.19387,
    "h": 272.7
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#2826A5
secondary
#C1C364
accent
#E642E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2826A5

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

Preview Lab → · Contrast checker → · Palette generator →

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