#2C26C5#2C26C5

#2C26C5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.230 H 271.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2C26C5
RGBrgb(44, 38, 197)
HSLhsl(242, 68%, 46%)
HSVhsv(242, 81%, 77%)
CMYKcmyk(77.7%, 80.7%, 0%, 22.7%)
CIE-LABlab(29.29, 54.26, -79.58)
CIE-LCHlch(29.29, 96.31, 304.29°)
OKLaboklab(41.42% 0.0068 -0.2303)
OKLCHoklch(41.42% 0.23 271.7)
XYZxyz(11.8065, 5.9516, 53.3390)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26C5 #BFC526
analogous
#266FC5 #2C26C5 #7B26C5
triadic
#2C26C5 #C52C26 #26C52C
tetradic
#2C26C5 #C5266F #BFC526 #26C57B
square
#2C26C5 #C5266F #BFC526 #26C57B
split-complementary
#2C26C5 #C57B26 #6FC526
monochromatic
#15125E #211C92 #2C26C5 #514CDC #837FE6

Accessibility & contrast

On white

9.59
#2C26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C26C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26C5
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26C5#FFFFFF#000000##FFFFFF
##2C26C51.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c26c5;
/* rgb */ color: rgb(44, 38, 197);
/* oklch */ color: oklch(41.4% 0.230 271.7);
Tailwind
colors: {
  custom: {
    50: '#8165d8',
    500: '#2c26c5',
    950: '#000000',
  },
}
SCSS
$custom: #2c26c5;
$custom-light: #8165d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26c5",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 242.264,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41418,
    "c": 0.2304,
    "h": 271.7
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#2C26C5
secondary
#CCCF78
accent
#EB3DE4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2C26C5

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

Preview Lab → · Contrast checker → · Palette generator →

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