#2A26B1#2A26B1

#2A26B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.208 H 272.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2A26B1
RGBrgb(42, 38, 177)
HSLhsl(242, 65%, 42%)
HSVhsv(242, 79%, 69%)
CMYKcmyk(76.3%, 78.5%, 0%, 30.6%)
CIE-LABlab(26.88, 47.86, -71.72)
CIE-LCHlch(26.88, 86.22, 303.72°)
OKLaboklab(39.04% 0.0089 -0.2076)
OKLCHoklch(39.04% 0.208 272.4)
XYZxyz(9.5811, 5.0518, 42.0566)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26B1 #ADB126
analogous
#2667B1 #2A26B1 #7026B1
triadic
#2A26B1 #B12A26 #26B12A
tetradic
#2A26B1 #B12667 #ADB126 #26B170
square
#2A26B1 #B12667 #ADB126 #26B170
split-complementary
#2A26B1 #B17026 #67B126
monochromatic
#12104C #1E1B7F #2A26B1 #433FD6 #7471E0

Accessibility & contrast

On white

10.44
#2A26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2A26B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26B1
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26B1#FFFFFF#000000##FFFFFF
##2A26B11.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a26b1;
/* rgb */ color: rgb(42, 38, 177);
/* oklch */ color: oklch(39.0% 0.208 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b63ca',
    500: '#2a26b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a26b1;
$custom-light: #7b63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26b1",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 241.727,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39041,
    "c": 0.20776,
    "h": 272.4
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#2A26B1
secondary
#C5C76B
accent
#E840E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2A26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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