#2A26BA#2A26BA

#2A26BA is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.218 H 271.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2A26BA
RGBrgb(42, 38, 186)
HSLhsl(242, 66%, 44%)
HSVhsv(242, 80%, 73%)
CMYKcmyk(77.4%, 79.6%, 0%, 27.1%)
CIE-LABlab(27.91, 50.72, -75.38)
CIE-LCHlch(27.91, 90.86, 303.94°)
OKLaboklab(40.06% 0.0069 -0.2182)
OKLCHoklch(40.06% 0.218 271.8)
XYZxyz(10.5079, 5.4225, 46.9377)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26BA #B6BA26
analogous
#266CBA #2A26BA #7426BA
triadic
#2A26BA #BA2A26 #26BA2A
tetradic
#2A26BA #BA266C #B6BA26 #26BA74
square
#2A26BA #BA266C #B6BA26 #26BA74
split-complementary
#2A26BA #BA7426 #6CBA26
monochromatic
#131154 #1F1C87 #2A26BA #4844D9 #7A77E3

Accessibility & contrast

On white

10.07
#2A26BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A26BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26BA
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26BA#FFFFFF#000000##FFFFFF
##2A26BA1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BE
Deuteranopia (green-blind)
#003AB7
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a26ba;
/* rgb */ color: rgb(42, 38, 186);
/* oklch */ color: oklch(40.1% 0.218 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d64d0',
    500: '#2a26ba',
    950: '#000000',
  },
}
SCSS
$custom: #2a26ba;
$custom-light: #7d64d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26ba",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 241.622,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.2183,
    "h": 271.8
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#2A26BA
secondary
#C8CB71
accent
#E93FE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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