#2826A8#2826A8

#2826A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.198 H 272.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2826A8
RGBrgb(40, 38, 168)
HSLhsl(241, 63%, 40%)
HSVhsv(241, 77%, 66%)
CMYKcmyk(76.2%, 77.4%, 0%, 34.1%)
CIE-LABlab(25.75, 44.79, -68.18)
CIE-LCHlch(25.75, 81.58, 303.30°)
OKLaboklab(37.92% 0.0084 -0.1973)
OKLCHoklch(37.92% 0.198 272.4)
XYZxyz(8.6337, 4.6636, 37.4833)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826A8 #A6A826
analogous
#2665A8 #2826A8 #6926A8
triadic
#2826A8 #A82826 #26A828
tetradic
#2826A8 #A82665 #A6A826 #26A869
square
#2826A8 #A82665 #A6A826 #26A869
split-complementary
#2826A8 #A86926 #65A826
monochromatic
#100F44 #1C1B76 #2826A8 #3B39D2 #6D6BDE

Accessibility & contrast

On white

10.87
#2826A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2826A8
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826A8#FFFFFF#000000##FFFFFF
##2826A81.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2826a8;
/* rgb */ color: rgb(40, 38, 168);
/* oklch */ color: oklch(37.9% 0.198 272.4);
Tailwind
colors: {
  custom: {
    50: '#7863c3',
    500: '#2826a8',
    950: '#000000',
  },
}
SCSS
$custom: #2826a8;
$custom-light: #7863c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2826a8",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 240.923,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.19751,
    "h": 272.4
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#2826A8
secondary
#C2C466
accent
#E642E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2826A8

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

Preview Lab → · Contrast checker → · Palette generator →

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