#2A26C5#2A26C5

#2A26C5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.3% C 0.231 H 271.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2A26C5
RGBrgb(42, 38, 197)
HSLhsl(242, 68%, 46%)
HSVhsv(242, 81%, 77%)
CMYKcmyk(78.7%, 80.7%, 0%, 22.7%)
CIE-LABlab(29.18, 54.14, -79.76)
CIE-LCHlch(29.18, 96.40, 304.17°)
OKLaboklab(41.31% 0.0045 -0.2309)
OKLCHoklch(41.31% 0.231 271.1)
XYZxyz(11.7226, 5.9084, 53.3351)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26C5 #C1C526
analogous
#2672C5 #2A26C5 #7926C5
triadic
#2A26C5 #C52A26 #26C52A
tetradic
#2A26C5 #C52672 #C1C526 #26C579
square
#2A26C5 #C52672 #C1C526 #26C579
split-complementary
#2A26C5 #C57926 #72C526
monochromatic
#14125E #1F1C92 #2A26C5 #4F4CDC #827FE6

Accessibility & contrast

On white

9.62
#2A26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2A26C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26C5
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26C5#FFFFFF#000000##FFFFFF
##2A26C51.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a26c5;
/* rgb */ color: rgb(42, 38, 197);
/* oklch */ color: oklch(41.3% 0.231 271.1);
Tailwind
colors: {
  custom: {
    50: '#8065d8',
    500: '#2a26c5',
    950: '#000000',
  },
}
SCSS
$custom: #2a26c5;
$custom-light: #8065d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26c5",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 241.509,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41312,
    "c": 0.23091,
    "h": 271.1
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#2A26C5
secondary
#CDCF78
accent
#EB3DE6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2A26C5

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

Preview Lab → · Contrast checker → · Palette generator →

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