#2A26AE#2A26AE

#2A26AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.204 H 272.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2A26AE
RGBrgb(42, 38, 174)
HSLhsl(242, 64%, 42%)
HSVhsv(242, 78%, 68%)
CMYKcmyk(75.9%, 78.2%, 0%, 31.8%)
CIE-LABlab(26.54, 46.90, -70.48)
CIE-LCHlch(26.54, 84.66, 303.64°)
OKLaboklab(38.71% 0.0095 -0.204)
OKLCHoklch(38.71% 0.204 272.7)
XYZxyz(9.2854, 4.9335, 40.4991)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26AE #AAAE26
analogous
#2666AE #2A26AE #6E26AE
triadic
#2A26AE #AE2A26 #26AE2A
tetradic
#2A26AE #AE2666 #AAAE26 #26AE6E
square
#2A26AE #AE2666 #AAAE26 #26AE6E
split-complementary
#2A26AE #AE6E26 #66AE26
monochromatic
#12104A #1E1B7C #2A26AE #413DD5 #726FE0

Accessibility & contrast

On white

10.57
#2A26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26AE
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26AE#FFFFFF#000000##FFFFFF
##2A26AE1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a26ae;
/* rgb */ color: rgb(42, 38, 174);
/* oklch */ color: oklch(38.7% 0.204 272.7);
Tailwind
colors: {
  custom: {
    50: '#7a63c8',
    500: '#2a26ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a26ae;
$custom-light: #7a63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26ae",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 241.765,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38706,
    "c": 0.20419,
    "h": 272.7
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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