#2A26BC#2A26BC

#2A26BC is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.221 H 271.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2A26BC
RGBrgb(42, 38, 188)
HSLhsl(242, 66%, 44%)
HSVhsv(242, 80%, 74%)
CMYKcmyk(77.7%, 79.8%, 0%, 26.3%)
CIE-LABlab(28.14, 51.35, -76.19)
CIE-LCHlch(28.14, 91.88, 303.98°)
OKLaboklab(40.28% 0.0065 -0.2205)
OKLCHoklch(40.28% 0.221 271.7)
XYZxyz(10.7220, 5.5081, 48.0653)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26BC #B8BC26
analogous
#266DBC #2A26BC #7526BC
triadic
#2A26BC #BC2A26 #26BC2A
tetradic
#2A26BC #BC266D #B8BC26 #26BC75
square
#2A26BC #BC266D #B8BC26 #26BC75
split-complementary
#2A26BC #BC7526 #6DBC26
monochromatic
#131156 #1F1C89 #2A26BC #4A46DA #7B79E4

Accessibility & contrast

On white

9.99
#2A26BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A26BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26BC
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26BC#FFFFFF#000000##FFFFFF
##2A26BC1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#003BB9
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a26bc;
/* rgb */ color: rgb(42, 38, 188);
/* oklch */ color: oklch(40.3% 0.221 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e64d2',
    500: '#2a26bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a26bc;
$custom-light: #7e64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26bc",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 241.6,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.22062,
    "h": 271.7
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#2A26BC
secondary
#C9CC72
accent
#E93FE5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A26BC

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

Preview Lab → · Contrast checker → · Palette generator →

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