#2C26A5#2C26A5

#2C26A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.193 H 274.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2C26A5
RGBrgb(44, 38, 165)
HSLhsl(243, 63%, 40%)
HSVhsv(243, 77%, 65%)
CMYKcmyk(73.3%, 77%, 0%, 35.3%)
CIE-LABlab(25.68, 44.14, -66.49)
CIE-LCHlch(25.68, 79.81, 303.58°)
OKLaboklab(37.84% 0.0139 -0.1923)
OKLCHoklch(37.84% 0.193 274.1)
XYZxyz(8.5211, 4.6375, 36.0361)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26A5 #9FA526
analogous
#265FA5 #2C26A5 #6C26A5
triadic
#2C26A5 #A52C26 #26A52C
tetradic
#2C26A5 #A5265F #9FA526 #26A56C
square
#2C26A5 #A5265F #9FA526 #26A56C
split-complementary
#2C26A5 #A56C26 #5FA526
monochromatic
#110F42 #1F1B73 #2C26A5 #3E37D1 #6E69DC

Accessibility & contrast

On white

10.89
#2C26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C26A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26A5
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26A5#FFFFFF#000000##FFFFFF
##2C26A51.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c26a5;
/* rgb */ color: rgb(44, 38, 165);
/* oklch */ color: oklch(37.8% 0.193 274.1);
Tailwind
colors: {
  custom: {
    50: '#7963c1',
    500: '#2c26a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c26a5;
$custom-light: #7963c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26a5",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 242.835,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37836,
    "c": 0.19282,
    "h": 274.1
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#2C26A5
secondary
#BEC364
accent
#E642DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #2C26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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