#2C26C1#2C26C1

#2C26C1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.0% C 0.226 H 272.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2C26C1
RGBrgb(44, 38, 193)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 80%, 76%)
CMYKcmyk(77.2%, 80.3%, 0%, 24.3%)
CIE-LABlab(28.83, 53.03, -77.99)
CIE-LCHlch(28.83, 94.31, 304.21°)
OKLaboklab(40.96% 0.0077 -0.2257)
OKLCHoklch(40.96% 0.226 272)
XYZxyz(11.3542, 5.7707, 50.9572)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26C1 #BBC126
analogous
#266DC1 #2C26C1 #7A26C1
triadic
#2C26C1 #C12C26 #26C12C
tetradic
#2C26C1 #C1266D #BBC126 #26C17A
square
#2C26C1 #C1266D #BBC126 #26C17A
split-complementary
#2C26C1 #C17A26 #6DC126
monochromatic
#15125B #201C8E #2C26C1 #4F49DB #807CE5

Accessibility & contrast

On white

9.75
#2C26C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C26C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26C1
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26C1#FFFFFF#000000##FFFFFF
##2C26C11.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c26c1;
/* rgb */ color: rgb(44, 38, 193);
/* oklch */ color: oklch(41.0% 0.226 272.0);
Tailwind
colors: {
  custom: {
    50: '#8064d5',
    500: '#2c26c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c26c1;
$custom-light: #8064d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26c1",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 242.323,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.40962,
    "c": 0.22584,
    "h": 272
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#2C26C1
secondary
#CACD75
accent
#EA3EE3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C26C1

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

Preview Lab → · Contrast checker → · Palette generator →

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