#2D26A3#2D26A3

#2D26A3 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.190 H 274.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2D26A3
RGBrgb(45, 38, 163)
HSLhsl(243, 62%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(72.4%, 76.7%, 0%, 36.1%)
CIE-LABlab(25.53, 43.58, -65.52)
CIE-LCHlch(25.53, 78.69, 303.63°)
OKLaboklab(37.68% 0.0157 -0.1895)
OKLCHoklch(37.68% 0.19 274.7)
XYZxyz(8.3840, 4.5876, 35.0869)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26A3 #9CA326
analogous
#265EA3 #2D26A3 #6C26A3
triadic
#2D26A3 #A32D26 #26A32D
tetradic
#2D26A3 #A3265E #9CA326 #26A36C
square
#2D26A3 #A3265E #9CA326 #26A36C
split-complementary
#2D26A3 #A36C26 #5EA326
monochromatic
#120F40 #1F1A71 #2D26A3 #3F36D0 #6E68DC

Accessibility & contrast

On white

10.95
#2D26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26A3
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26A3#FFFFFF#000000##FFFFFF
##2D26A31.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d26a3;
/* rgb */ color: rgb(45, 38, 163);
/* oklch */ color: oklch(37.7% 0.190 274.7);
Tailwind
colors: {
  custom: {
    50: '#7963c0',
    500: '#2d26a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d26a3;
$custom-light: #7963c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26a3",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 243.36,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37684,
    "c": 0.19014,
    "h": 274.7
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#2D26A3
secondary
#BCC263
accent
#E543DC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #2D26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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