#2C22BD#2C22BD

#2C22BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.224 H 272.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2C22BD
RGBrgb(44, 34, 189)
HSLhsl(244, 70%, 44%)
HSVhsv(244, 82%, 74%)
CMYKcmyk(76.7%, 82%, 0%, 25.9%)
CIE-LABlab(27.72, 53.69, -77.47)
CIE-LCHlch(27.72, 94.26, 304.72°)
OKLaboklab(40.06% 0.0098 -0.2241)
OKLCHoklch(40.06% 0.224 272.5)
XYZxyz(10.7930, 5.3525, 48.5986)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22BD #B3BD22
analogous
#2265BD #2C22BD #7922BD
triadic
#2C22BD #BD2C22 #22BD2C
tetradic
#2C22BD #BD2265 #B3BD22 #22BD79
square
#2C22BD #BD2265 #B3BD22 #22BD79
split-complementary
#2C22BD #BD7922 #65BD22
monochromatic
#140F55 #201989 #2C22BD #4A40DD #7B73E6

Accessibility & contrast

On white

10.14
#2C22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C22BD
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22BD#FFFFFF#000000##FFFFFF
##2C22BD1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c22bd;
/* rgb */ color: rgb(44, 34, 189);
/* oklch */ color: oklch(40.1% 0.224 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f62d2',
    500: '#2c22bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c22bd;
$custom-light: #7f62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22bd",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 243.871,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.22435,
    "h": 272.5
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#2C22BD
secondary
#C7CD6E
accent
#EC3BE1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2C22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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