#2D26AC#2D26AC

#2D26AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.201 H 273.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2D26AC
RGBrgb(45, 38, 172)
HSLhsl(243, 64%, 41%)
HSVhsv(243, 78%, 67%)
CMYKcmyk(73.8%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.51, 46.50, -69.33)
CIE-LCHlch(26.51, 83.48, 303.85°)
OKLaboklab(38.67% 0.0137 -0.2006)
OKLCHoklch(38.67% 0.201 273.9)
XYZxyz(9.2192, 4.9217, 39.4859)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26AC #A5AC26
analogous
#2662AC #2D26AC #7026AC
triadic
#2D26AC #AC2D26 #26AC2D
tetradic
#2D26AC #AC2662 #A5AC26 #26AC70
square
#2D26AC #AC2662 #A5AC26 #26AC70
split-complementary
#2D26AC #AC7026 #62AC26
monochromatic
#131048 #201B7A #2D26AC #433BD4 #736EDF

Accessibility & contrast

On white

10.58
#2D26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D26AC
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26AC#FFFFFF#000000##FFFFFF
##2D26AC1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d26ac;
/* rgb */ color: rgb(45, 38, 172);
/* oklch */ color: oklch(38.7% 0.201 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b63c6',
    500: '#2d26ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d26ac;
$custom-light: #7b63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26ac",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 243.134,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38667,
    "c": 0.20102,
    "h": 273.9
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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