#2D26B3#2D26B3

#2D26B3 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.209 H 273.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2D26B3
RGBrgb(45, 38, 179)
HSLhsl(243, 65%, 43%)
HSVhsv(243, 79%, 70%)
CMYKcmyk(74.9%, 78.8%, 0%, 29.8%)
CIE-LABlab(27.29, 48.73, -72.23)
CIE-LCHlch(27.29, 87.13, 304.00°)
OKLaboklab(39.44% 0.0121 -0.209)
OKLCHoklch(39.44% 0.209 273.3)
XYZxyz(9.9093, 5.1978, 43.1201)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26B3 #ACB326
analogous
#2665B3 #2D26B3 #7426B3
triadic
#2D26B3 #B32D26 #26B32D
tetradic
#2D26B3 #B32665 #ACB326 #26B374
square
#2D26B3 #B32665 #ACB326 #26B374
split-complementary
#2D26B3 #B37426 #65B326
monochromatic
#14114E #201B81 #2D26B3 #4740D6 #7872E1

Accessibility & contrast

On white

10.30
#2D26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D26B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26B3
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26B3#FFFFFF#000000##FFFFFF
##2D26B31.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d26b3;
/* rgb */ color: rgb(45, 38, 179);
/* oklch */ color: oklch(39.4% 0.209 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d64cb',
    500: '#2d26b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d26b3;
$custom-light: #7d64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26b3",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 242.979,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39442,
    "c": 0.20934,
    "h": 273.3
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#2D26B3
secondary
#C4C86D
accent
#E840E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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