#2E26C5#2E26C5

#2E26C5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.5% C 0.230 H 272.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2E26C5
RGBrgb(46, 38, 197)
HSLhsl(243, 68%, 46%)
HSVhsv(243, 81%, 77%)
CMYKcmyk(76.6%, 80.7%, 0%, 22.7%)
CIE-LABlab(29.40, 54.38, -79.38)
CIE-LCHlch(29.40, 96.22, 304.42°)
OKLaboklab(41.53% 0.0091 -0.2297)
OKLCHoklch(41.53% 0.23 272.3)
XYZxyz(11.8945, 5.9970, 53.3432)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E26C5 #BDC526
analogous
#266DC5 #2E26C5 #7D26C5
triadic
#2E26C5 #C52E26 #26C52E
tetradic
#2E26C5 #C5266D #BDC526 #26C57D
square
#2E26C5 #C5266D #BDC526 #26C57D
split-complementary
#2E26C5 #C57D26 #6DC526
monochromatic
#16125E #221C92 #2E26C5 #534CDC #847FE6

Accessibility & contrast

On white

9.55
#2E26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2E26C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E26C5
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E26C5#FFFFFF#000000##FFFFFF
##2E26C51.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e26c5;
/* rgb */ color: rgb(46, 38, 197);
/* oklch */ color: oklch(41.5% 0.230 272.3);
Tailwind
colors: {
  custom: {
    50: '#8165d8',
    500: '#2e26c5',
    950: '#000000',
  },
}
SCSS
$custom: #2e26c5;
$custom-light: #8165d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e26c5",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 243.019,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.22988,
    "h": 272.3
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#2E26C5
secondary
#CACF78
accent
#EB3DE2
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2E26C5

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

Preview Lab → · Contrast checker → · Palette generator →

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