#2D22AE#2D22AE

#2D22AE is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.207 H 274.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2D22AE
RGBrgb(45, 34, 174)
HSLhsl(245, 67%, 41%)
HSVhsv(245, 80%, 68%)
CMYKcmyk(74.1%, 80.5%, 0%, 31.8%)
CIE-LABlab(26.03, 49.16, -71.33)
CIE-LCHlch(26.03, 86.63, 304.58°)
OKLaboklab(38.4% 0.0148 -0.2063)
OKLCHoklch(38.4% 0.207 274.1)
XYZxyz(9.2917, 4.7570, 40.4647)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D22AE #A3AE22
analogous
#225DAE #2D22AE #7322AE
triadic
#2D22AE #AE2D22 #22AE2D
tetradic
#2D22AE #AE225D #A3AE22 #22AE73
square
#2D22AE #AE225D #A3AE22 #22AE73
split-complementary
#2D22AE #AE7322 #5DAE22
monochromatic
#130E48 #20187B #2D22AE #4236D8 #7269E2

Accessibility & contrast

On white

10.76
#2D22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D22AE
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D22AE#FFFFFF#000000##FFFFFF
##2D22AE1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d22ae;
/* rgb */ color: rgb(45, 34, 174);
/* oklch */ color: oklch(38.4% 0.207 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c61c8',
    500: '#2d22ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d22ae;
$custom-light: #7c61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d22ae",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 244.714,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38398,
    "c": 0.20683,
    "h": 274.1
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#2D22AE
secondary
#C0C764
accent
#EA3EDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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