#2A26BD#2A26BD

#2A26BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.222 H 271.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2A26BD
RGBrgb(42, 38, 189)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 80%, 74%)
CMYKcmyk(77.8%, 79.9%, 0%, 25.9%)
CIE-LABlab(28.25, 51.66, -76.59)
CIE-LCHlch(28.25, 92.38, 304.00°)
OKLaboklab(40.4% 0.0063 -0.2217)
OKLCHoklch(40.4% 0.222 271.6)
XYZxyz(10.8302, 5.5514, 48.6350)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26BD #B9BD26
analogous
#266EBD #2A26BD #7526BD
triadic
#2A26BD #BD2A26 #26BD2A
tetradic
#2A26BD #BD266E #B9BD26 #26BD75
square
#2A26BD #BD266E #B9BD26 #26BD75
split-complementary
#2A26BD #BD7526 #6EBD26
monochromatic
#131257 #1F1C8A #2A26BD #4A46DA #7C79E4

Accessibility & contrast

On white

9.95
#2A26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26BD
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26BD#FFFFFF#000000##FFFFFF
##2A26BD1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a26bd;
/* rgb */ color: rgb(42, 38, 189);
/* oklch */ color: oklch(40.4% 0.222 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e64d2',
    500: '#2a26bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a26bd;
$custom-light: #7e64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26bd",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 241.589,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.22177,
    "h": 271.6
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#2A26BD
secondary
#CACC73
accent
#E93EE5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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