#2D26C5#2D26C5

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

Color values

HEX#2D26C5
RGBrgb(45, 38, 197)
HSLhsl(243, 68%, 46%)
HSVhsv(243, 81%, 77%)
CMYKcmyk(77.2%, 80.7%, 0%, 22.7%)
CIE-LABlab(29.35, 54.32, -79.48)
CIE-LCHlch(29.35, 96.27, 304.35°)
OKLaboklab(41.47% 0.008 -0.23)
OKLCHoklch(41.47% 0.23 272)
XYZxyz(11.8500, 5.9740, 53.3411)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26C5 #BEC526
analogous
#266EC5 #2D26C5 #7D26C5
triadic
#2D26C5 #C52D26 #26C52D
tetradic
#2D26C5 #C5266E #BEC526 #26C57D
square
#2D26C5 #C5266E #BEC526 #26C57D
split-complementary
#2D26C5 #C57D26 #6EC526
monochromatic
#16125E #211C92 #2D26C5 #524CDC #847FE6

Accessibility & contrast

On white

9.57
#2D26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D26C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26C5
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26C5#FFFFFF#000000##FFFFFF
##2D26C51.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.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: #2d26c5;
/* rgb */ color: rgb(45, 38, 197);
/* oklch */ color: oklch(41.5% 0.230 272.0);
Tailwind
colors: {
  custom: {
    50: '#8165d8',
    500: '#2d26c5',
    950: '#000000',
  },
}
SCSS
$custom: #2d26c5;
$custom-light: #8165d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26c5",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 242.642,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41473,
    "c": 0.23014,
    "h": 272
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#2D26C5
secondary
#CBCF78
accent
#EB3DE3
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D26C5

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

Preview Lab → · Contrast checker → · Palette generator →

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