#2C26B0#2C26B0

#2C26B0 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.206 H 273.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2C26B0
RGBrgb(44, 38, 176)
HSLhsl(243, 64%, 42%)
HSVhsv(243, 78%, 69%)
CMYKcmyk(75%, 78.4%, 0%, 31%)
CIE-LABlab(26.89, 47.70, -71.10)
CIE-LCHlch(26.89, 85.62, 303.86°)
OKLaboklab(39.05% 0.0115 -0.2057)
OKLCHoklch(39.05% 0.206 273.2)
XYZxyz(9.5657, 5.0553, 41.5375)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26B0 #AAB026
analogous
#2665B0 #2C26B0 #7126B0
triadic
#2C26B0 #B02C26 #26B02C
tetradic
#2C26B0 #B02665 #AAB026 #26B071
square
#2C26B0 #B02665 #AAB026 #26B071
split-complementary
#2C26B0 #B07126 #65B026
monochromatic
#13104B #1F1B7E #2C26B0 #443ED5 #7570E0

Accessibility & contrast

On white

10.44
#2C26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26B0
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26B0#FFFFFF#000000##FFFFFF
##2C26B01.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c26b0;
/* rgb */ color: rgb(44, 38, 176);
/* oklch */ color: oklch(39.0% 0.206 273.2);
Tailwind
colors: {
  custom: {
    50: '#7c63c9',
    500: '#2c26b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c26b0;
$custom-light: #7c63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26b0",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 242.609,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.20605,
    "h": 273.2
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#2C26B0
secondary
#C3C76B
accent
#E740E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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