#2C26AC#2C26AC

#2C26AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.201 H 273.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2C26AC
RGBrgb(44, 38, 172)
HSLhsl(243, 64%, 41%)
HSVhsv(243, 78%, 67%)
CMYKcmyk(74.4%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.45, 46.41, -69.44)
CIE-LCHlch(26.45, 83.52, 303.76°)
OKLaboklab(38.6% 0.0124 -0.2009)
OKLCHoklch(38.6% 0.201 273.5)
XYZxyz(9.1757, 4.8993, 39.4838)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26AC #A6AC26
analogous
#2663AC #2C26AC #6F26AC
triadic
#2C26AC #AC2C26 #26AC2C
tetradic
#2C26AC #AC2663 #A6AC26 #26AC6F
square
#2C26AC #AC2663 #A6AC26 #26AC6F
split-complementary
#2C26AC #AC6F26 #63AC26
monochromatic
#121048 #1F1B7A #2C26AC #423BD4 #736EDF

Accessibility & contrast

On white

10.61
#2C26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26AC
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26AC#FFFFFF#000000##FFFFFF
##2C26AC1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c26ac;
/* rgb */ color: rgb(44, 38, 172);
/* oklch */ color: oklch(38.6% 0.201 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b63c6',
    500: '#2c26ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c26ac;
$custom-light: #7b63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26ac",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 242.687,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38604,
    "c": 0.20128,
    "h": 273.5
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#2C26AC
secondary
#C1C568
accent
#E741DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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