#2A26BE#2A26BE

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

Color values

HEX#2A26BE
RGBrgb(42, 38, 190)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 80%, 75%)
CMYKcmyk(77.9%, 80%, 0%, 25.5%)
CIE-LABlab(28.37, 51.98, -76.99)
CIE-LCHlch(28.37, 92.89, 304.02°)
OKLaboklab(40.51% 0.0061 -0.2228)
OKLCHoklch(40.51% 0.223 271.6)
XYZxyz(10.9391, 5.5950, 49.2086)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26BE #BABE26
analogous
#266EBE #2A26BE #7626BE
triadic
#2A26BE #BE2A26 #26BE2A
tetradic
#2A26BE #BE266E #BABE26 #26BE76
square
#2A26BE #BE266E #BABE26 #26BE76
split-complementary
#2A26BE #BE7626 #6EBE26
monochromatic
#131258 #1F1C8B #2A26BE #4B47DA #7D7AE4

Accessibility & contrast

On white

9.91
#2A26BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A26BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26BE
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26BE#FFFFFF#000000##FFFFFF
##2A26BE1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC2
Deuteranopia (green-blind)
#003BBB
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a26be;
/* rgb */ color: rgb(42, 38, 190);
/* oklch */ color: oklch(40.5% 0.223 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e64d3',
    500: '#2a26be',
    950: '#000000',
  },
}
SCSS
$custom: #2a26be;
$custom-light: #7e64d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26be",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 190
  },
  "hsl": {
    "h": 241.579,
    "s": 66.667,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.22292,
    "h": 271.6
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#2A26BE
secondary
#CACC74
accent
#EA3EE5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A26BE

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

Preview Lab → · Contrast checker → · Palette generator →

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