#2C26A2#2C26A2

#2C26A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.189 H 274.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2C26A2
RGBrgb(44, 38, 162)
HSLhsl(243, 62%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(72.8%, 76.5%, 0%, 36.5%)
CIE-LABlab(25.35, 43.16, -65.21)
CIE-LCHlch(25.35, 78.20, 303.50°)
OKLaboklab(37.51% 0.0146 -0.1886)
OKLCHoklch(37.51% 0.189 274.4)
XYZxyz(8.2512, 4.5295, 34.6148)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26A2 #9CA226
analogous
#265EA2 #2C26A2 #6A26A2
triadic
#2C26A2 #A22C26 #26A22C
tetradic
#2C26A2 #A2265E #9CA226 #26A26A
square
#2C26A2 #A2265E #9CA226 #26A26A
split-complementary
#2C26A2 #A26A26 #5EA226
monochromatic
#110F3F #1F1A70 #2C26A2 #3D35D0 #6D67DB

Accessibility & contrast

On white

11.02
#2C26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C26A2
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26A2#FFFFFF#000000##FFFFFF
##2C26A21.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c26a2;
/* rgb */ color: rgb(44, 38, 162);
/* oklch */ color: oklch(37.5% 0.189 274.4);
Tailwind
colors: {
  custom: {
    50: '#7863bf',
    500: '#2c26a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c26a2;
$custom-light: #7863bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26a2",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 242.903,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3751,
    "c": 0.18916,
    "h": 274.4
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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