#2D26B7#2D26B7

#2D26B7 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.214 H 273.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2D26B7
RGBrgb(45, 38, 183)
HSLhsl(243, 66%, 43%)
HSVhsv(243, 79%, 72%)
CMYKcmyk(75.4%, 79.2%, 0%, 28.2%)
CIE-LABlab(27.74, 49.99, -73.87)
CIE-LCHlch(27.74, 89.19, 304.09°)
OKLaboklab(39.89% 0.0112 -0.2137)
OKLCHoklch(39.89% 0.214 273)
XYZxyz(10.3197, 5.3619, 45.2816)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26B7 #B0B726
analogous
#2667B7 #2D26B7 #7626B7
triadic
#2D26B7 #B72D26 #26B72D
tetradic
#2D26B7 #B72667 #B0B726 #26B776
square
#2D26B7 #B72667 #B0B726 #26B776
split-complementary
#2D26B7 #B77626 #67B726
monochromatic
#141152 #211B84 #2D26B7 #4A42D8 #7A75E2

Accessibility & contrast

On white

10.13
#2D26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26B7
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26B7#FFFFFF#000000##FFFFFF
##2D26B71.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB5
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d26b7;
/* rgb */ color: rgb(45, 38, 183);
/* oklch */ color: oklch(39.9% 0.214 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e64ce',
    500: '#2d26b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d26b7;
$custom-light: #7e64ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26b7",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 242.897,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.21403,
    "h": 273
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#2D26B7
secondary
#C5CA6F
accent
#E93FE0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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