#2C26A3#2C26A3

#2C26A3 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.190 H 274.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2C26A3
RGBrgb(44, 38, 163)
HSLhsl(243, 62%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(73%, 76.7%, 0%, 36.1%)
CIE-LABlab(25.46, 43.49, -65.63)
CIE-LCHlch(25.46, 78.73, 303.53°)
OKLaboklab(37.62% 0.0144 -0.1898)
OKLCHoklch(37.62% 0.19 274.3)
XYZxyz(8.3405, 4.5652, 35.0849)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26A3 #9DA326
analogous
#265FA3 #2C26A3 #6B26A3
triadic
#2C26A3 #A32C26 #26A32C
tetradic
#2C26A3 #A3265F #9DA326 #26A36B
square
#2C26A3 #A3265F #9DA326 #26A36B
split-complementary
#2C26A3 #A36B26 #5FA326
monochromatic
#110F40 #1F1A71 #2C26A3 #3D36D0 #6D68DC

Accessibility & contrast

On white

10.98
#2C26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26A3
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26A3#FFFFFF#000000##FFFFFF
##2C26A31.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c26a3;
/* rgb */ color: rgb(44, 38, 163);
/* oklch */ color: oklch(37.6% 0.190 274.3);
Tailwind
colors: {
  custom: {
    50: '#7863c0',
    500: '#2c26a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c26a3;
$custom-light: #7863c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26a3",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 242.88,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.19038,
    "h": 274.3
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#2C26A3
secondary
#BDC263
accent
#E543DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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