#2A26AB#2A26AB

#2A26AB is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.201 H 272.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2A26AB
RGBrgb(42, 38, 171)
HSLhsl(242, 64%, 41%)
HSVhsv(242, 78%, 67%)
CMYKcmyk(75.4%, 77.8%, 0%, 32.9%)
CIE-LABlab(26.21, 45.93, -69.23)
CIE-LCHlch(26.21, 83.08, 303.56°)
OKLaboklab(38.37% 0.0102 -0.2003)
OKLCHoklch(38.37% 0.201 272.9)
XYZxyz(8.9962, 4.8178, 38.9760)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26AB #A7AB26
analogous
#2664AB #2A26AB #6D26AB
triadic
#2A26AB #AB2A26 #26AB2A
tetradic
#2A26AB #AB2664 #A7AB26 #26AB6D
square
#2A26AB #AB2664 #A7AB26 #26AB6D
split-complementary
#2A26AB #AB6D26 #64AB26
monochromatic
#111047 #1E1B79 #2A26AB #3F3BD3 #706DDF

Accessibility & contrast

On white

10.69
#2A26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26AB
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26AB#FFFFFF#000000##FFFFFF
##2A26AB1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#0037A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a26ab;
/* rgb */ color: rgb(42, 38, 171);
/* oklch */ color: oklch(38.4% 0.201 272.9);
Tailwind
colors: {
  custom: {
    50: '#7a63c5',
    500: '#2a26ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a26ab;
$custom-light: #7a63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26ab",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 241.805,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38372,
    "c": 0.2006,
    "h": 272.9
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#2A26AB
secondary
#C2C568
accent
#E741E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2A26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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