#2D26B6#2D26B6

#2D26B6 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.213 H 273.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2D26B6
RGBrgb(45, 38, 182)
HSLhsl(243, 65%, 43%)
HSVhsv(243, 79%, 71%)
CMYKcmyk(75.3%, 79.1%, 0%, 28.6%)
CIE-LABlab(27.63, 49.68, -73.46)
CIE-LCHlch(27.63, 88.68, 304.07°)
OKLaboklab(39.78% 0.0114 -0.2126)
OKLCHoklch(39.78% 0.213 273.1)
XYZxyz(10.2160, 5.3204, 44.7354)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26B6 #AFB626
analogous
#2667B6 #2D26B6 #7526B6
triadic
#2D26B6 #B62D26 #26B62D
tetradic
#2D26B6 #B62667 #AFB626 #26B675
square
#2D26B6 #B62667 #AFB626 #26B675
split-complementary
#2D26B6 #B67526 #67B626
monochromatic
#141151 #201B83 #2D26B6 #4942D7 #7A74E2

Accessibility & contrast

On white

10.17
#2D26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D26B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26B6
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26B6#FFFFFF#000000##FFFFFF
##2D26B61.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BA
Deuteranopia (green-blind)
#003AB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d26b6;
/* rgb */ color: rgb(45, 38, 182);
/* oklch */ color: oklch(39.8% 0.213 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d64cd',
    500: '#2d26b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d26b6;
$custom-light: #7d64cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26b6",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 242.917,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.21287,
    "h": 273.1
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#2D26B6
secondary
#C5C96E
accent
#E83FE0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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