#2B26BE#2B26BE

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

Color values

HEX#2B26BE
RGBrgb(43, 38, 190)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 80%, 75%)
CMYKcmyk(77.4%, 80%, 0%, 25.5%)
CIE-LABlab(28.42, 52.04, -76.89)
CIE-LCHlch(28.42, 92.85, 304.09°)
OKLaboklab(40.57% 0.0072 -0.2225)
OKLCHoklch(40.57% 0.223 271.9)
XYZxyz(10.9805, 5.6163, 49.2106)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26BE #B9BE26
analogous
#266DBE #2B26BE #7726BE
triadic
#2B26BE #BE2B26 #26BE2B
tetradic
#2B26BE #BE266D #B9BE26 #26BE77
square
#2B26BE #BE266D #B9BE26 #26BE77
split-complementary
#2B26BE #BE7726 #6DBE26
monochromatic
#141258 #1F1C8B #2B26BE #4C47DA #7E7AE4

Accessibility & contrast

On white

9.89
#2B26BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B26BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26BE
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26BE#FFFFFF#000000##FFFFFF
##2B26BE1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC2
Deuteranopia (green-blind)
#003BBB
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b26be;
/* rgb */ color: rgb(43, 38, 190);
/* oklch */ color: oklch(40.6% 0.223 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f64d3',
    500: '#2b26be',
    950: '#000000',
  },
}
SCSS
$custom: #2b26be;
$custom-light: #7f64d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26be",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 190
  },
  "hsl": {
    "h": 241.974,
    "s": 66.667,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.22267,
    "h": 271.9
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B26BE

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

Preview Lab → · Contrast checker → · Palette generator →

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