#2D22B3#2D22B3

#2D22B3 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.213 H 273.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2D22B3
RGBrgb(45, 34, 179)
HSLhsl(245, 68%, 42%)
HSVhsv(245, 81%, 70%)
CMYKcmyk(74.9%, 81%, 0%, 29.8%)
CIE-LABlab(26.61, 50.71, -73.36)
CIE-LCHlch(26.61, 89.18, 304.65°)
OKLaboklab(38.97% 0.0135 -0.2122)
OKLCHoklch(38.97% 0.213 273.6)
XYZxyz(9.7882, 4.9556, 43.0798)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D22B3 #A8B322
analogous
#2260B3 #2D22B3 #7622B3
triadic
#2D22B3 #B32D22 #22B32D
tetradic
#2D22B3 #B32260 #A8B322 #22B376
square
#2D22B3 #B32260 #A8B322 #22B376
split-complementary
#2D22B3 #B37622 #60B322
monochromatic
#130E4C #201880 #2D22B3 #4539D9 #756CE3

Accessibility & contrast

On white

10.55
#2D22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D22B3
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D22B3#FFFFFF#000000##FFFFFF
##2D22B31.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d22b3;
/* rgb */ color: rgb(45, 34, 179);
/* oklch */ color: oklch(39.0% 0.213 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d61cb',
    500: '#2d22b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d22b3;
$custom-light: #7d61cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d22b3",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 244.552,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38966,
    "c": 0.21264,
    "h": 273.6
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#2D22B3
secondary
#C2C968
accent
#EB3DDE
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #2D22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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