#2C2275#2C2275

#2C2275 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.135 H 281.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#2C2275
RGBrgb(44, 34, 117)
HSLhsl(247, 55%, 30%)
HSVhsv(247, 71%, 46%)
CMYKcmyk(62.4%, 70.9%, 0%, 54.1%)
CIE-LABlab(19.90, 30.35, -46.11)
CIE-LCHlch(19.90, 55.20, 303.36°)
OKLaboklab(32.24% 0.0261 -0.1328)
OKLCHoklch(32.24% 0.135 281.1)
XYZxyz(4.8206, 2.9635, 17.1442)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2275 #6B7522
analogous
#224275 #2C2275 #562275
triadic
#2C2275 #752C22 #22752C
tetradic
#2C2275 #752242 #6B7522 #227556
square
#2C2275 #752242 #6B7522 #227556
split-complementary
#2C2275 #755622 #427522
monochromatic
#090718 #1A1446 #2C2275 #3E30A4 #5748CA

Accessibility & contrast

On white

13.18
#2C2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2C2275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2275
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2275#FFFFFF#000000##FFFFFF
##2C22751.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c2275;
/* rgb */ color: rgb(44, 34, 117);
/* oklch */ color: oklch(32.2% 0.135 281.1);
Tailwind
colors: {
  custom: {
    50: '#6e5e9e',
    500: '#2c2275',
    950: '#000000',
  },
}
SCSS
$custom: #2c2275;
$custom-light: #6e5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2275",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 247.229,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3224,
    "c": 0.13534,
    "h": 281.1
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#2C2275
secondary
#9DA84B
accent
#DE49CC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2C2275

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

Preview Lab → · Contrast checker → · Palette generator →

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