#2D26AB#2D26AB

#2D26AB is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.200 H 274.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2D26AB
RGBrgb(45, 38, 171)
HSLhsl(243, 64%, 41%)
HSVhsv(243, 78%, 67%)
CMYKcmyk(73.7%, 77.8%, 0%, 32.9%)
CIE-LABlab(26.40, 46.17, -68.91)
CIE-LCHlch(26.40, 82.95, 303.82°)
OKLaboklab(38.56% 0.0139 -0.1993)
OKLCHoklch(38.56% 0.2 274)
XYZxyz(9.1235, 4.8835, 38.9820)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26AB #A4AB26
analogous
#2661AB #2D26AB #6F26AB
triadic
#2D26AB #AB2D26 #26AB2D
tetradic
#2D26AB #AB2661 #A4AB26 #26AB6F
square
#2D26AB #AB2661 #A4AB26 #26AB6F
split-complementary
#2D26AB #AB6F26 #61AB26
monochromatic
#131047 #201B79 #2D26AB #433BD3 #736DDF

Accessibility & contrast

On white

10.62
#2D26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26AB
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26AB#FFFFFF#000000##FFFFFF
##2D26AB1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#0038A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d26ab;
/* rgb */ color: rgb(45, 38, 171);
/* oklch */ color: oklch(38.6% 0.200 274.0);
Tailwind
colors: {
  custom: {
    50: '#7b63c5',
    500: '#2d26ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d26ab;
$custom-light: #7b63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26ab",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 243.158,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38557,
    "c": 0.19982,
    "h": 274
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#2D26AB
secondary
#C0C568
accent
#E741DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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