#2C26BA#2C26BA

#2C26BA is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.218 H 272.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2C26BA
RGBrgb(44, 38, 186)
HSLhsl(242, 66%, 44%)
HSVhsv(242, 80%, 73%)
CMYKcmyk(76.3%, 79.6%, 0%, 27.1%)
CIE-LABlab(28.02, 50.86, -75.19)
CIE-LCHlch(28.02, 90.77, 304.08°)
OKLaboklab(40.17% 0.0093 -0.2176)
OKLCHoklch(40.17% 0.218 272.4)
XYZxyz(10.5918, 5.4657, 46.9416)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26BA #B4BA26
analogous
#266ABA #2C26BA #7626BA
triadic
#2C26BA #BA2C26 #26BA2C
tetradic
#2C26BA #BA266A #B4BA26 #26BA76
square
#2C26BA #BA266A #B4BA26 #26BA76
split-complementary
#2C26BA #BA7626 #6ABA26
monochromatic
#141154 #201C87 #2C26BA #4A44D9 #7C77E3

Accessibility & contrast

On white

10.03
#2C26BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C26BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26BA
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26BA#FFFFFF#000000##FFFFFF
##2C26BA1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BE
Deuteranopia (green-blind)
#003BB7
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c26ba;
/* rgb */ color: rgb(44, 38, 186);
/* oklch */ color: oklch(40.2% 0.218 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e64d0',
    500: '#2c26ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c26ba;
$custom-light: #7e64d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26ba",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 242.432,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.21778,
    "h": 272.4
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#2C26BA
secondary
#C7CB71
accent
#E93FE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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