#2B26AC#2B26AC

#2B26AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.202 H 273.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2B26AC
RGBrgb(43, 38, 172)
HSLhsl(242, 64%, 41%)
HSVhsv(242, 78%, 67%)
CMYKcmyk(75%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.38, 46.33, -69.55)
CIE-LCHlch(26.38, 83.57, 303.67°)
OKLaboklab(38.54% 0.0112 -0.2012)
OKLCHoklch(38.54% 0.202 273.2)
XYZxyz(9.1333, 4.8774, 39.4818)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26AC #A7AC26
analogous
#2664AC #2B26AC #6E26AC
triadic
#2B26AC #AC2B26 #26AC2B
tetradic
#2B26AC #AC2664 #A7AC26 #26AC6E
square
#2B26AC #AC2664 #A7AC26 #26AC6E
split-complementary
#2B26AC #AC6E26 #64AC26
monochromatic
#121048 #1E1B7A #2B26AC #413BD4 #726EDF

Accessibility & contrast

On white

10.63
#2B26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B26AC
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26AC#FFFFFF#000000##FFFFFF
##2B26AC1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b26ac;
/* rgb */ color: rgb(43, 38, 172);
/* oklch */ color: oklch(38.5% 0.202 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a63c6',
    500: '#2b26ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b26ac;
$custom-light: #7a63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26ac",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 242.239,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38543,
    "c": 0.20154,
    "h": 273.2
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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