#2B26C1#2B26C1

#2B26C1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.226 H 271.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2B26C1
RGBrgb(43, 38, 193)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 80%, 76%)
CMYKcmyk(77.7%, 80.3%, 0%, 24.3%)
CIE-LABlab(28.77, 52.97, -78.09)
CIE-LCHlch(28.77, 94.36, 304.15°)
OKLaboklab(40.91% 0.0066 -0.226)
OKLCHoklch(40.91% 0.226 271.7)
XYZxyz(11.3118, 5.7488, 50.9552)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26C1 #BCC126
analogous
#266FC1 #2B26C1 #7826C1
triadic
#2B26C1 #C12B26 #26C12B
tetradic
#2B26C1 #C1266F #BCC126 #26C178
square
#2B26C1 #C1266F #BCC126 #26C178
split-complementary
#2B26C1 #C17826 #6FC126
monochromatic
#14125B #201C8E #2B26C1 #4E49DB #807CE5

Accessibility & contrast

On white

9.77
#2B26C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B26C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26C1
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26C1#FFFFFF#000000##FFFFFF
##2B26C11.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b26c1;
/* rgb */ color: rgb(43, 38, 193);
/* oklch */ color: oklch(40.9% 0.226 271.7);
Tailwind
colors: {
  custom: {
    50: '#7f64d5',
    500: '#2b26c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b26c1;
$custom-light: #7f64d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26c1",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 241.935,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.2261,
    "h": 271.7
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#2B26C1
secondary
#CBCD75
accent
#EA3EE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B26C1

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

Preview Lab → · Contrast checker → · Palette generator →

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