#2C26B4#2C26B4

#2C26B4 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.5% C 0.211 H 272.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2C26B4
RGBrgb(44, 38, 180)
HSLhsl(243, 65%, 43%)
HSVhsv(243, 79%, 71%)
CMYKcmyk(75.6%, 78.9%, 0%, 29.4%)
CIE-LABlab(27.34, 48.97, -72.75)
CIE-LCHlch(27.34, 87.69, 303.95°)
OKLaboklab(39.49% 0.0106 -0.2105)
OKLCHoklch(39.49% 0.211 272.9)
XYZxyz(9.9673, 5.2159, 43.6526)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26B4 #AEB426
analogous
#2667B4 #2C26B4 #7326B4
triadic
#2C26B4 #B42C26 #26B42C
tetradic
#2C26B4 #B42667 #AEB426 #26B473
square
#2C26B4 #B42667 #AEB426 #26B473
split-complementary
#2C26B4 #B47326 #67B426
monochromatic
#13114F #201B81 #2C26B4 #4740D7 #7873E1

Accessibility & contrast

On white

10.28
#2C26B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C26B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26B4
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26B4#FFFFFF#000000##FFFFFF
##2C26B41.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003AB2
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c26b4;
/* rgb */ color: rgb(44, 38, 180);
/* oklch */ color: oklch(39.5% 0.211 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c64cc',
    500: '#2c26b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c26b4;
$custom-light: #7c64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26b4",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 242.535,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.21078,
    "h": 272.9
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#2C26B4
secondary
#C5C96D
accent
#E840E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0514
muted
#7C7A82

Preview Lab

Preview with #2C26B4

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

Preview Lab → · Contrast checker → · Palette generator →

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