#2B26B7#2B26B7

#2B26B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.215 H 272.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2B26B7
RGBrgb(43, 38, 183)
HSLhsl(242, 66%, 43%)
HSVhsv(242, 79%, 72%)
CMYKcmyk(76.5%, 79.2%, 0%, 28.2%)
CIE-LABlab(27.62, 49.85, -74.07)
CIE-LCHlch(27.62, 89.28, 303.94°)
OKLaboklab(39.77% 0.0088 -0.2144)
OKLCHoklch(39.77% 0.215 272.3)
XYZxyz(10.2337, 5.3176, 45.2776)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26B7 #B2B726
analogous
#2669B7 #2B26B7 #7326B7
triadic
#2B26B7 #B72B26 #26B72B
tetradic
#2B26B7 #B72669 #B2B726 #26B773
square
#2B26B7 #B72669 #B2B726 #26B773
split-complementary
#2B26B7 #B77326 #69B726
monochromatic
#131152 #1F1B84 #2B26B7 #4842D8 #7975E2

Accessibility & contrast

On white

10.18
#2B26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26B7
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26B7#FFFFFF#000000##FFFFFF
##2B26B71.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b26b7;
/* rgb */ color: rgb(43, 38, 183);
/* oklch */ color: oklch(39.8% 0.215 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d64ce',
    500: '#2b26b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b26b7;
$custom-light: #7d64ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26b7",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 242.069,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.21455,
    "h": 272.3
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#2B26B7
secondary
#C7CA6F
accent
#E93FE3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2B26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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