#2D22AF#2D22AF

#2D22AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.208 H 274.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2D22AF
RGBrgb(45, 34, 175)
HSLhsl(245, 67%, 41%)
HSVhsv(245, 81%, 69%)
CMYKcmyk(74.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(26.15, 49.48, -71.73)
CIE-LCHlch(26.15, 87.14, 304.59°)
OKLaboklab(38.51% 0.0145 -0.2075)
OKLCHoklch(38.51% 0.208 274)
XYZxyz(9.3895, 4.7961, 40.9800)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D22AF #A4AF22
analogous
#225DAF #2D22AF #7322AF
triadic
#2D22AF #AF2D22 #22AF2D
tetradic
#2D22AF #AF225D #A4AF22 #22AF73
square
#2D22AF #AF225D #A4AF22 #22AF73
split-complementary
#2D22AF #AF7322 #5DAF22
monochromatic
#130E49 #20187C #2D22AF #4336D8 #7369E2

Accessibility & contrast

On white

10.72
#2D22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D22AF
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D22AF#FFFFFF#000000##FFFFFF
##2D22AF1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d22af;
/* rgb */ color: rgb(45, 34, 175);
/* oklch */ color: oklch(38.5% 0.208 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c61c8',
    500: '#2d22af',
    950: '#000000',
  },
}
SCSS
$custom: #2d22af;
$custom-light: #7c61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d22af",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 244.681,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.208,
    "h": 274
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#2D22AF
secondary
#C0C865
accent
#EA3DDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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