#2826B7#2826B7

#2826B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.215 H 271.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2826B7
RGBrgb(40, 38, 183)
HSLhsl(241, 66%, 43%)
HSVhsv(241, 79%, 72%)
CMYKcmyk(78.1%, 79.2%, 0%, 28.2%)
CIE-LABlab(27.45, 49.64, -74.36)
CIE-LCHlch(27.45, 89.41, 303.73°)
OKLaboklab(39.61% 0.0053 -0.2153)
OKLCHoklch(39.61% 0.215 271.4)
XYZxyz(10.1125, 5.2551, 45.2719)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826B7 #B5B726
analogous
#266CB7 #2826B7 #7126B7
triadic
#2826B7 #B72826 #26B728
tetradic
#2826B7 #B7266C #B5B726 #26B771
square
#2826B7 #B7266C #B5B726 #26B771
split-complementary
#2826B7 #B77126 #6CB726
monochromatic
#121152 #1D1B84 #2826B7 #4442D8 #7775E2

Accessibility & contrast

On white

10.24
#2826B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2826B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826B7
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826B7#FFFFFF#000000##FFFFFF
##2826B71.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#0039B5
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2826b7;
/* rgb */ color: rgb(40, 38, 183);
/* oklch */ color: oklch(39.6% 0.215 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c64ce',
    500: '#2826b7',
    950: '#000000',
  },
}
SCSS
$custom: #2826b7;
$custom-light: #7c64ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2826b7",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 240.828,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39607,
    "c": 0.21533,
    "h": 271.4
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#2826B7
secondary
#C8CA6F
accent
#E93FE6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0514
muted
#7C7A82

Preview Lab

Preview with #2826B7

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

Preview Lab → · Contrast checker → · Palette generator →

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