#2C26B7#2C26B7

#2C26B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.214 H 272.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2C26B7
RGBrgb(44, 38, 183)
HSLhsl(242, 66%, 43%)
HSVhsv(242, 79%, 72%)
CMYKcmyk(76%, 79.2%, 0%, 28.2%)
CIE-LABlab(27.68, 49.92, -73.97)
CIE-LCHlch(27.68, 89.24, 304.01°)
OKLaboklab(39.83% 0.01 -0.2141)
OKLCHoklch(39.83% 0.214 272.7)
XYZxyz(10.2762, 5.3395, 45.2796)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26B7 #B1B726
analogous
#2668B7 #2C26B7 #7426B7
triadic
#2C26B7 #B72C26 #26B72C
tetradic
#2C26B7 #B72668 #B1B726 #26B774
square
#2C26B7 #B72668 #B1B726 #26B774
split-complementary
#2C26B7 #B77426 #68B726
monochromatic
#141152 #201B84 #2C26B7 #4942D8 #7A75E2

Accessibility & contrast

On white

10.15
#2C26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26B7
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26B7#FFFFFF#000000##FFFFFF
##2C26B71.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB5
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c26b7;
/* rgb */ color: rgb(44, 38, 183);
/* oklch */ color: oklch(39.8% 0.214 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d64ce',
    500: '#2c26b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c26b7;
$custom-light: #7d64ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26b7",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 242.483,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.3983,
    "c": 0.21429,
    "h": 272.7
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#2C26B7
secondary
#C6CA6F
accent
#E93FE2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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