#2B26C5#2B26C5

#2B26C5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.4% C 0.231 H 271.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2B26C5
RGBrgb(43, 38, 197)
HSLhsl(242, 68%, 46%)
HSVhsv(242, 81%, 77%)
CMYKcmyk(78.2%, 80.7%, 0%, 22.7%)
CIE-LABlab(29.23, 54.20, -79.67)
CIE-LCHlch(29.23, 96.36, 304.23°)
OKLaboklab(41.36% 0.0057 -0.2306)
OKLCHoklch(41.36% 0.231 271.4)
XYZxyz(11.7640, 5.9297, 53.3370)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26C5 #C0C526
analogous
#2670C5 #2B26C5 #7A26C5
triadic
#2B26C5 #C52B26 #26C52B
tetradic
#2B26C5 #C52670 #C0C526 #26C57A
square
#2B26C5 #C52670 #C0C526 #26C57A
split-complementary
#2B26C5 #C57A26 #70C526
monochromatic
#15125E #201C92 #2B26C5 #504CDC #827FE6

Accessibility & contrast

On white

9.61
#2B26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B26C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26C5
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26C5#FFFFFF#000000##FFFFFF
##2B26C51.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b26c5;
/* rgb */ color: rgb(43, 38, 197);
/* oklch */ color: oklch(41.4% 0.231 271.4);
Tailwind
colors: {
  custom: {
    50: '#8065d8',
    500: '#2b26c5',
    950: '#000000',
  },
}
SCSS
$custom: #2b26c5;
$custom-light: #8065d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26c5",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 241.887,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41364,
    "c": 0.23066,
    "h": 271.4
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#2B26C5
secondary
#CCCF78
accent
#EB3DE5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B26C5

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

Preview Lab → · Contrast checker → · Palette generator →

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