#2A26B7#2A26B7

#2A26B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.215 H 272.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2A26B7
RGBrgb(42, 38, 183)
HSLhsl(242, 66%, 43%)
HSVhsv(242, 79%, 72%)
CMYKcmyk(77%, 79.2%, 0%, 28.2%)
CIE-LABlab(27.56, 49.78, -74.17)
CIE-LCHlch(27.56, 89.32, 303.87°)
OKLaboklab(39.72% 0.0076 -0.2147)
OKLCHoklch(39.72% 0.215 272)
XYZxyz(10.1923, 5.2963, 45.2757)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26B7 #B3B726
analogous
#266AB7 #2A26B7 #7226B7
triadic
#2A26B7 #B72A26 #26B72A
tetradic
#2A26B7 #B7266A #B3B726 #26B772
square
#2A26B7 #B7266A #B3B726 #26B772
split-complementary
#2A26B7 #B77226 #6AB726
monochromatic
#131152 #1E1B84 #2A26B7 #4642D8 #7875E2

Accessibility & contrast

On white

10.20
#2A26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26B7
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26B7#FFFFFF#000000##FFFFFF
##2A26B71.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB5
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a26b7;
/* rgb */ color: rgb(42, 38, 183);
/* oklch */ color: oklch(39.7% 0.215 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d64ce',
    500: '#2a26b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a26b7;
$custom-light: #7d64ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26b7",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 241.655,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.21481,
    "h": 272
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#2A26B7
secondary
#C7CA6F
accent
#E93FE4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2A26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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