#2C2175#2C2175

#2C2175 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.137 H 281.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#2C2175
RGBrgb(44, 33, 117)
HSLhsl(248, 56%, 29%)
HSVhsv(248, 72%, 46%)
CMYKcmyk(62.4%, 71.8%, 0%, 54.1%)
CIE-LABlab(19.67, 30.97, -46.48)
CIE-LCHlch(19.67, 55.86, 303.68°)
OKLaboklab(32.08% 0.0269 -0.1339)
OKLCHoklch(32.08% 0.137 281.4)
XYZxyz(4.7924, 2.9072, 17.1348)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2175 #6A7521
analogous
#214075 #2C2175 #562175
triadic
#2C2175 #752C21 #21752C
tetradic
#2C2175 #752140 #6A7521 #217556
square
#2C2175 #752140 #6A7521 #217556
split-complementary
#2C2175 #755621 #407521
monochromatic
#090718 #1A1445 #2C2175 #3E2EA5 #5746CB

Accessibility & contrast

On white

13.28
#2C2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2175
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2175#FFFFFF#000000##FFFFFF
##2C21751.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2175;
/* rgb */ color: rgb(44, 33, 117);
/* oklch */ color: oklch(32.1% 0.137 281.4);
Tailwind
colors: {
  custom: {
    50: '#6f5d9e',
    500: '#2c2175',
    950: '#000000',
  },
}
SCSS
$custom: #2c2175;
$custom-light: #6f5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2175",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 247.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32076,
    "c": 0.13658,
    "h": 281.4
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#2C2175
secondary
#9CA84A
accent
#DF49CC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2C2175

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

Preview Lab → · Contrast checker → · Palette generator →

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