#2C2971#2C2971

#2C2971 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.120 H 279.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#2C2971
RGBrgb(44, 41, 113)
HSLhsl(243, 47%, 30%)
HSVhsv(243, 64%, 44%)
CMYKcmyk(61.1%, 63.7%, 0%, 55.7%)
CIE-LABlab(21.26, 24.37, -41.32)
CIE-LCHlch(21.26, 47.97, 300.53°)
OKLaboklab(33.12% 0.0197 -0.1187)
OKLCHoklch(33.12% 0.12 279.4)
XYZxyz(4.8113, 3.3133, 16.0056)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2971 #6E7129
analogous
#294A71 #2C2971 #502971
triadic
#2C2971 #712C29 #29712C
tetradic
#2C2971 #71294A #6E7129 #297150
square
#2C2971 #71294A #6E7129 #297150
split-complementary
#2C2971 #715029 #4A7129
monochromatic
#090817 #1B1944 #2C2971 #3D399E #5854C1

Accessibility & contrast

On white

12.63
#2C2971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2C2971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2971
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2971#FFFFFF#000000##FFFFFF
##2C29711.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#013B48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2971;
/* rgb */ color: rgb(44, 41, 113);
/* oklch */ color: oklch(33.1% 0.120 279.4);
Tailwind
colors: {
  custom: {
    50: '#6d639a',
    500: '#2c2971',
    950: '#000000',
  },
}
SCSS
$custom: #2c2971;
$custom-light: #6d639a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2971",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 242.5,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33118,
    "c": 0.12034,
    "h": 279.4
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#2C2971
secondary
#A0A353
accent
#D651D1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C2971

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

Preview Lab → · Contrast checker → · Palette generator →

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