#2C2575#2C2575

#2C2575 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.131 H 280.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2C2575
RGBrgb(44, 37, 117)
HSLhsl(245, 52%, 30%)
HSVhsv(245, 68%, 46%)
CMYKcmyk(62.4%, 68.4%, 0%, 54.1%)
CIE-LABlab(20.61, 28.43, -44.95)
CIE-LCHlch(20.61, 53.18, 302.32°)
OKLaboklab(32.75% 0.0233 -0.1294)
OKLCHoklch(32.75% 0.131 280.2)
XYZxyz(4.9101, 3.1426, 17.1740)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2575 #6E7525
analogous
#254675 #2C2575 #542575
triadic
#2C2575 #752C25 #25752C
tetradic
#2C2575 #752546 #6E7525 #257554
square
#2C2575 #752546 #6E7525 #257554
split-complementary
#2C2575 #755425 #467525
monochromatic
#090818 #1B1647 #2C2575 #3D34A3 #584EC7

Accessibility & contrast

On white

12.89
#2C2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2C2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2575
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2575#FFFFFF#000000##FFFFFF
##2C25751.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c2575;
/* rgb */ color: rgb(44, 37, 117);
/* oklch */ color: oklch(32.8% 0.131 280.2);
Tailwind
colors: {
  custom: {
    50: '#6e609e',
    500: '#2c2575',
    950: '#000000',
  },
}
SCSS
$custom: #2c2575;
$custom-light: #6e609e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2575",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 245.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32752,
    "c": 0.13148,
    "h": 280.2
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#2C2575
secondary
#A0A84E
accent
#DB4CCF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2C2575

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

Preview Lab → · Contrast checker → · Palette generator →

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