#2A26DD#2A26DD

#2A26DD is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 44.1% C 0.258 H 269.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2A26DD
RGBrgb(42, 38, 221)
HSLhsl(241, 73%, 51%)
HSVhsv(241, 83%, 87%)
CMYKcmyk(81%, 82.8%, 0%, 13.3%)
CIE-LABlab(32.03, 61.34, -88.97)
CIE-LCHlch(32.03, 108.07, 304.58°)
OKLaboklab(44.1% -0.0006 -0.2575)
OKLCHoklch(44.1% 0.258 269.9)
XYZxyz(14.6947, 7.0972, 68.9880)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26DD #D9DD26
analogous
#267EDD #2A26DD #8526DD
triadic
#2A26DD #DD2A26 #26DD2A
tetradic
#2A26DD #DD267E #D9DD26 #26DD85
square
#2A26DD #DD267E #D9DD26 #26DD85
split-complementary
#2A26DD #DD8526 #7EDD26
monochromatic
#151376 #1E1BAB #2A26DD #5E5BE5 #9290EE

Accessibility & contrast

On white

8.68
#2A26DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A26DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26DD
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26DD#FFFFFF#000000##FFFFFF
##2A26DD1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054E2
Deuteranopia (green-blind)
#0042DA
Tritanopia (blue-blind)
#006285
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a26dd;
/* rgb */ color: rgb(42, 38, 221);
/* oklch */ color: oklch(44.1% 0.258 269.9);
Tailwind
colors: {
  custom: {
    50: '#8666e9',
    500: '#2a26dd',
    950: '#000000',
  },
}
SCSS
$custom: #2a26dd;
$custom-light: #8666e9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26dd",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 221
  },
  "hsl": {
    "h": 241.311,
    "s": 72.908,
    "l": 50.784
  },
  "oklch": {
    "l": 0.44098,
    "c": 0.25752,
    "h": 269.9
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#2A26DD
secondary
#D6D887
accent
#F038EC
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #2A26DD

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

Preview Lab → · Contrast checker → · Palette generator →

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