#2C26B6#2C26B6

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

Color values

HEX#2C26B6
RGBrgb(44, 38, 182)
HSLhsl(243, 65%, 43%)
HSVhsv(243, 79%, 71%)
CMYKcmyk(75.8%, 79.1%, 0%, 28.6%)
CIE-LABlab(27.57, 49.60, -73.56)
CIE-LCHlch(27.57, 88.72, 303.99°)
OKLaboklab(39.72% 0.0102 -0.2129)
OKLCHoklch(39.72% 0.213 272.7)
XYZxyz(10.1725, 5.2980, 44.7334)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26B6 #B0B626
analogous
#2668B6 #2C26B6 #7426B6
triadic
#2C26B6 #B62C26 #26B62C
tetradic
#2C26B6 #B62668 #B0B626 #26B674
square
#2C26B6 #B62668 #B0B626 #26B674
split-complementary
#2C26B6 #B67426 #68B626
monochromatic
#141151 #201B83 #2C26B6 #4842D7 #7974E2

Accessibility & contrast

On white

10.20
#2C26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C26B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26B6
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26B6#FFFFFF#000000##FFFFFF
##2C26B61.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BA
Deuteranopia (green-blind)
#003AB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c26b6;
/* rgb */ color: rgb(44, 38, 182);
/* oklch */ color: oklch(39.7% 0.213 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d64cd',
    500: '#2c26b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c26b6;
$custom-light: #7d64cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26b6",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 242.5,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.21312,
    "h": 272.7
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#2C26B6
secondary
#C6C96E
accent
#E83FE1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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