#2B26AD#2B26AD

#2B26AD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.203 H 273.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2B26AD
RGBrgb(43, 38, 173)
HSLhsl(242, 64%, 41%)
HSVhsv(242, 78%, 68%)
CMYKcmyk(75.1%, 78%, 0%, 32.2%)
CIE-LABlab(26.49, 46.66, -69.96)
CIE-LCHlch(26.49, 84.09, 303.70°)
OKLaboklab(38.65% 0.011 -0.2024)
OKLCHoklch(38.65% 0.203 273.1)
XYZxyz(9.2297, 4.9160, 39.9895)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26AD #A8AD26
analogous
#2665AD #2B26AD #6F26AD
triadic
#2B26AD #AD2B26 #26AD2B
tetradic
#2B26AD #AD2665 #A8AD26 #26AD6F
square
#2B26AD #AD2665 #A8AD26 #26AD6F
split-complementary
#2B26AD #AD6F26 #65AD26
monochromatic
#121049 #1F1B7B #2B26AD #423CD4 #726EDF

Accessibility & contrast

On white

10.59
#2B26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26AD
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26AD#FFFFFF#000000##FFFFFF
##2B26AD1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b26ad;
/* rgb */ color: rgb(43, 38, 173);
/* oklch */ color: oklch(38.7% 0.203 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a63c7',
    500: '#2b26ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b26ad;
$custom-light: #7a63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26ad",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 242.222,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38654,
    "c": 0.20274,
    "h": 273.1
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#2B26AD
secondary
#C2C669
accent
#E741E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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