#2C22B3#2C22B3

#2C22B3 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.9% C 0.213 H 273.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2C22B3
RGBrgb(44, 34, 179)
HSLhsl(244, 68%, 42%)
HSVhsv(244, 81%, 70%)
CMYKcmyk(75.4%, 81%, 0%, 29.8%)
CIE-LABlab(26.54, 50.64, -73.47)
CIE-LCHlch(26.54, 89.23, 304.58°)
OKLaboklab(38.91% 0.0122 -0.2125)
OKLCHoklch(38.91% 0.213 273.3)
XYZxyz(9.7447, 4.9332, 43.0777)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22B3 #A9B322
analogous
#2261B3 #2C22B3 #7522B3
triadic
#2C22B3 #B32C22 #22B32C
tetradic
#2C22B3 #B32261 #A9B322 #22B375
square
#2C22B3 #B32261 #A9B322 #22B375
split-complementary
#2C22B3 #B37522 #61B322
monochromatic
#130E4C #1F1880 #2C22B3 #4439D9 #746CE3

Accessibility & contrast

On white

10.57
#2C22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C22B3
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22B3#FFFFFF#000000##FFFFFF
##2C22B31.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.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: #2c22b3;
/* rgb */ color: rgb(44, 34, 179);
/* oklch */ color: oklch(38.9% 0.213 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d61cb',
    500: '#2c22b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c22b3;
$custom-light: #7d61cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22b3",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 244.138,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38905,
    "c": 0.2129,
    "h": 273.3
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#2C22B3
secondary
#C3C968
accent
#EB3DDF
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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