#2A26B0#2A26B0

#2A26B0 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.207 H 272.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2A26B0
RGBrgb(42, 38, 176)
HSLhsl(242, 64%, 42%)
HSVhsv(242, 78%, 69%)
CMYKcmyk(76.1%, 78.4%, 0%, 31%)
CIE-LABlab(26.77, 47.54, -71.31)
CIE-LCHlch(26.77, 85.70, 303.69°)
OKLaboklab(38.93% 0.0091 -0.2064)
OKLCHoklch(38.93% 0.207 272.5)
XYZxyz(9.4818, 5.0120, 41.5336)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26B0 #ACB026
analogous
#2667B0 #2A26B0 #6F26B0
triadic
#2A26B0 #B02A26 #26B02A
tetradic
#2A26B0 #B02667 #ACB026 #26B06F
square
#2A26B0 #B02667 #ACB026 #26B06F
split-complementary
#2A26B0 #B06F26 #67B026
monochromatic
#12104B #1E1B7E #2A26B0 #423ED5 #7370E0

Accessibility & contrast

On white

10.49
#2A26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2A26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26B0
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26B0#FFFFFF#000000##FFFFFF
##2A26B01.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a26b0;
/* rgb */ color: rgb(42, 38, 176);
/* oklch */ color: oklch(38.9% 0.207 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b63c9',
    500: '#2a26b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a26b0;
$custom-light: #7b63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26b0",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 241.739,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.20657,
    "h": 272.5
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#2A26B0
secondary
#C4C76B
accent
#E740E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2A26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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