#2C26B1#2C26B1

#2C26B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.207 H 273.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2C26B1
RGBrgb(44, 38, 177)
HSLhsl(243, 65%, 42%)
HSVhsv(243, 79%, 69%)
CMYKcmyk(75.1%, 78.5%, 0%, 30.6%)
CIE-LABlab(27.00, 48.02, -71.51)
CIE-LCHlch(27.00, 86.14, 303.88°)
OKLaboklab(39.16% 0.0113 -0.2069)
OKLCHoklch(39.16% 0.207 273.1)
XYZxyz(9.6650, 5.0950, 42.0605)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26B1 #ABB126
analogous
#2666B1 #2C26B1 #7226B1
triadic
#2C26B1 #B12C26 #26B12C
tetradic
#2C26B1 #B12666 #ABB126 #26B172
square
#2C26B1 #B12666 #ABB126 #26B172
split-complementary
#2C26B1 #B17226 #66B126
monochromatic
#13104C #1F1B7F #2C26B1 #453FD6 #7671E0

Accessibility & contrast

On white

10.40
#2C26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C26B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26B1
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26B1#FFFFFF#000000##FFFFFF
##2C26B11.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c26b1;
/* rgb */ color: rgb(44, 38, 177);
/* oklch */ color: oklch(39.2% 0.207 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c63ca',
    500: '#2c26b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c26b1;
$custom-light: #7c63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26b1",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 242.59,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.20724,
    "h": 273.1
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#2C26B1
secondary
#C3C76B
accent
#E840E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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