#2D22A9#2D22A9

#2D22A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.8% C 0.201 H 274.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2D22A9
RGBrgb(45, 34, 169)
HSLhsl(245, 67%, 40%)
HSVhsv(245, 80%, 66%)
CMYKcmyk(73.4%, 79.9%, 0%, 33.7%)
CIE-LABlab(25.46, 47.61, -69.26)
CIE-LCHlch(25.46, 84.04, 304.50°)
OKLaboklab(37.83% 0.016 -0.2003)
OKLCHoklch(37.83% 0.201 274.6)
XYZxyz(8.8133, 4.5656, 37.9452)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D22A9 #9EA922
analogous
#225BA9 #2D22A9 #7122A9
triadic
#2D22A9 #A92D22 #22A92D
tetradic
#2D22A9 #A9225B #9EA922 #22A971
square
#2D22A9 #A9225B #9EA922 #22A971
split-complementary
#2D22A9 #A97122 #5BA922
monochromatic
#120D43 #1F1876 #2D22A9 #4032D6 #6F65E0

Accessibility & contrast

On white

10.98
#2D22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D22A9
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D22A9#FFFFFF#000000##FFFFFF
##2D22A91.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d22a9;
/* rgb */ color: rgb(45, 34, 169);
/* oklch */ color: oklch(37.8% 0.201 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b61c4',
    500: '#2d22a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d22a9;
$custom-light: #7b61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d22a9",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 244.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37833,
    "c": 0.20095,
    "h": 274.6
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#2D22A9
secondary
#BDC561
accent
#E93EDB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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