#2D26BD#2D26BD

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

Color values

HEX#2D26BD
RGBrgb(45, 38, 189)
HSLhsl(243, 67%, 45%)
HSVhsv(243, 80%, 74%)
CMYKcmyk(76.2%, 79.9%, 0%, 25.9%)
CIE-LABlab(28.43, 51.86, -76.29)
CIE-LCHlch(28.43, 92.25, 304.21°)
OKLaboklab(40.57% 0.0098 -0.2208)
OKLCHoklch(40.57% 0.221 272.5)
XYZxyz(10.9575, 5.6171, 48.6410)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26BD #B6BD26
analogous
#266BBD #2D26BD #7826BD
triadic
#2D26BD #BD2D26 #26BD2D
tetradic
#2D26BD #BD266B #B6BD26 #26BD78
square
#2D26BD #BD266B #B6BD26 #26BD78
split-complementary
#2D26BD #BD7826 #6BBD26
monochromatic
#151257 #211C8A #2D26BD #4D46DA #7E79E4

Accessibility & contrast

On white

9.89
#2D26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26BD
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26BD#FFFFFF#000000##FFFFFF
##2D26BD1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d26bd;
/* rgb */ color: rgb(45, 38, 189);
/* oklch */ color: oklch(40.6% 0.221 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f64d2',
    500: '#2d26bd',
    950: '#000000',
  },
}
SCSS
$custom: #2d26bd;
$custom-light: #7f64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26bd",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 242.781,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.221,
    "h": 272.5
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#2D26BD
secondary
#C8CC73
accent
#E93EE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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