#2C26AD#2C26AD

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

Color values

HEX#2C26AD
RGBrgb(44, 38, 173)
HSLhsl(243, 64%, 41%)
HSVhsv(243, 78%, 68%)
CMYKcmyk(74.6%, 78%, 0%, 32.2%)
CIE-LABlab(26.56, 46.73, -69.86)
CIE-LCHlch(26.56, 84.05, 303.78°)
OKLaboklab(38.71% 0.0122 -0.2021)
OKLCHoklch(38.71% 0.202 273.5)
XYZxyz(9.2721, 4.9379, 39.9915)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26AD #A7AD26
analogous
#2664AD #2C26AD #7026AD
triadic
#2C26AD #AD2C26 #26AD2C
tetradic
#2C26AD #AD2664 #A7AD26 #26AD70
square
#2C26AD #AD2664 #A7AD26 #26AD70
split-complementary
#2C26AD #AD7026 #64AD26
monochromatic
#121049 #1F1B7B #2C26AD #433CD4 #736EDF

Accessibility & contrast

On white

10.56
#2C26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26AD
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26AD#FFFFFF#000000##FFFFFF
##2C26AD1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c26ad;
/* rgb */ color: rgb(44, 38, 173);
/* oklch */ color: oklch(38.7% 0.202 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b63c7',
    500: '#2c26ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c26ad;
$custom-light: #7b63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26ad",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 242.667,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.20248,
    "h": 273.5
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#2C26AD
secondary
#C2C669
accent
#E741E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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