#2C26BE#2C26BE

#2C26BE is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.222 H 272.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2C26BE
RGBrgb(44, 38, 190)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 80%, 75%)
CMYKcmyk(76.8%, 80%, 0%, 25.5%)
CIE-LABlab(28.48, 52.10, -76.80)
CIE-LCHlch(28.48, 92.80, 304.16°)
OKLaboklab(40.62% 0.0084 -0.2222)
OKLCHoklch(40.62% 0.222 272.2)
XYZxyz(11.0230, 5.6382, 49.2126)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26BE #B8BE26
analogous
#266CBE #2C26BE #7826BE
triadic
#2C26BE #BE2C26 #26BE2C
tetradic
#2C26BE #BE266C #B8BE26 #26BE78
square
#2C26BE #BE266C #B8BE26 #26BE78
split-complementary
#2C26BE #BE7826 #6CBE26
monochromatic
#141258 #201C8B #2C26BE #4D47DA #7E7AE4

Accessibility & contrast

On white

9.87
#2C26BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C26BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26BE
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26BE#FFFFFF#000000##FFFFFF
##2C26BE1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC2
Deuteranopia (green-blind)
#003CBB
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c26be;
/* rgb */ color: rgb(44, 38, 190);
/* oklch */ color: oklch(40.6% 0.222 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f64d3',
    500: '#2c26be',
    950: '#000000',
  },
}
SCSS
$custom: #2c26be;
$custom-light: #7f64d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26be",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 190
  },
  "hsl": {
    "h": 242.368,
    "s": 66.667,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40621,
    "c": 0.22241,
    "h": 272.2
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#2C26BE
secondary
#C9CC74
accent
#EA3EE3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C26BE

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

Preview Lab → · Contrast checker → · Palette generator →

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