#2C26AB#2C26AB

#2C26AB is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.200 H 273.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2C26AB
RGBrgb(44, 38, 171)
HSLhsl(243, 64%, 41%)
HSVhsv(243, 78%, 67%)
CMYKcmyk(74.3%, 77.8%, 0%, 32.9%)
CIE-LABlab(26.34, 46.09, -69.02)
CIE-LCHlch(26.34, 83.00, 303.74°)
OKLaboklab(38.49% 0.0126 -0.1997)
OKLCHoklch(38.49% 0.2 273.6)
XYZxyz(9.0801, 4.8610, 38.9799)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26AB #A5AB26
analogous
#2662AB #2C26AB #6E26AB
triadic
#2C26AB #AB2C26 #26AB2C
tetradic
#2C26AB #AB2662 #A5AB26 #26AB6E
square
#2C26AB #AB2662 #A5AB26 #26AB6E
split-complementary
#2C26AB #AB6E26 #62AB26
monochromatic
#121047 #1F1B79 #2C26AB #423BD3 #726DDF

Accessibility & contrast

On white

10.65
#2C26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26AB
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26AB#FFFFFF#000000##FFFFFF
##2C26AB1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#0038A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c26ab;
/* rgb */ color: rgb(44, 38, 171);
/* oklch */ color: oklch(38.5% 0.200 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a63c5',
    500: '#2c26ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c26ab;
$custom-light: #7a63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26ab",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 242.707,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.20008,
    "h": 273.6
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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