#2B26BD#2B26BD

#2B26BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.5% C 0.222 H 271.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2B26BD
RGBrgb(43, 38, 189)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 80%, 74%)
CMYKcmyk(77.2%, 79.9%, 0%, 25.9%)
CIE-LABlab(28.31, 51.73, -76.49)
CIE-LCHlch(28.31, 92.34, 304.07°)
OKLaboklab(40.45% 0.0074 -0.2214)
OKLCHoklch(40.45% 0.222 271.9)
XYZxyz(10.8716, 5.5728, 48.6369)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26BD #B8BD26
analogous
#266CBD #2B26BD #7726BD
triadic
#2B26BD #BD2B26 #26BD2B
tetradic
#2B26BD #BD266C #B8BD26 #26BD77
square
#2B26BD #BD266C #B8BD26 #26BD77
split-complementary
#2B26BD #BD7726 #6CBD26
monochromatic
#141257 #1F1C8A #2B26BD #4B46DA #7D79E4

Accessibility & contrast

On white

9.93
#2B26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26BD
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26BD#FFFFFF#000000##FFFFFF
##2B26BD1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b26bd;
/* rgb */ color: rgb(43, 38, 189);
/* oklch */ color: oklch(40.5% 0.222 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e64d2',
    500: '#2b26bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b26bd;
$custom-light: #7e64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26bd",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 241.987,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.22151,
    "h": 271.9
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#2B26BD
secondary
#C9CC73
accent
#E93EE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B26BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2B26BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva