#2B26AB#2B26AB

#2B26AB is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.200 H 273.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2B26AB
RGBrgb(43, 38, 171)
HSLhsl(242, 64%, 41%)
HSVhsv(242, 78%, 67%)
CMYKcmyk(74.9%, 77.8%, 0%, 32.9%)
CIE-LABlab(26.27, 46.01, -69.13)
CIE-LCHlch(26.27, 83.04, 303.65°)
OKLaboklab(38.43% 0.0114 -0.2)
OKLCHoklch(38.43% 0.2 273.3)
XYZxyz(9.0376, 4.8392, 38.9779)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26AB #A6AB26
analogous
#2663AB #2B26AB #6D26AB
triadic
#2B26AB #AB2B26 #26AB2B
tetradic
#2B26AB #AB2663 #A6AB26 #26AB6D
square
#2B26AB #AB2663 #A6AB26 #26AB6D
split-complementary
#2B26AB #AB6D26 #63AB26
monochromatic
#121047 #1E1B79 #2B26AB #413BD3 #716DDF

Accessibility & contrast

On white

10.67
#2B26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26AB
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26AB#FFFFFF#000000##FFFFFF
##2B26AB1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#0038A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b26ab;
/* rgb */ color: rgb(43, 38, 171);
/* oklch */ color: oklch(38.4% 0.200 273.3);
Tailwind
colors: {
  custom: {
    50: '#7a63c5',
    500: '#2b26ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b26ab;
$custom-light: #7a63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26ab",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 242.256,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38432,
    "c": 0.20034,
    "h": 273.3
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#2B26AB
secondary
#C1C568
accent
#E741E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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