#2B26A3#2B26A3

#2B26A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.191 H 273.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2B26A3
RGBrgb(43, 38, 163)
HSLhsl(242, 62%, 39%)
HSVhsv(242, 77%, 64%)
CMYKcmyk(73.6%, 76.7%, 0%, 36.1%)
CIE-LABlab(25.39, 43.40, -65.75)
CIE-LCHlch(25.39, 78.78, 303.43°)
OKLaboklab(37.55% 0.0131 -0.1902)
OKLCHoklch(37.55% 0.191 273.9)
XYZxyz(8.2980, 4.5433, 35.0829)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26A3 #9EA326
analogous
#2660A3 #2B26A3 #6A26A3
triadic
#2B26A3 #A32B26 #26A32B
tetradic
#2B26A3 #A32660 #9EA326 #26A36A
square
#2B26A3 #A32660 #9EA326 #26A36A
split-complementary
#2B26A3 #A36A26 #60A326
monochromatic
#110F40 #1E1A71 #2B26A3 #3C36D0 #6C68DC

Accessibility & contrast

On white

11.00
#2B26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26A3
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26A3#FFFFFF#000000##FFFFFF
##2B26A31.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b26a3;
/* rgb */ color: rgb(43, 38, 163);
/* oklch */ color: oklch(37.6% 0.191 273.9);
Tailwind
colors: {
  custom: {
    50: '#7863c0',
    500: '#2b26a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b26a3;
$custom-light: #7863c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26a3",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 242.4,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.19064,
    "h": 273.9
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#2B26A3
secondary
#BEC263
accent
#E543DF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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