#2C379C#2C379C

#2C379C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.163 H 271.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2C379C
RGBrgb(44, 55, 156)
HSLhsl(234, 56%, 39%)
HSVhsv(234, 72%, 61%)
CMYKcmyk(71.8%, 64.7%, 0%, 38.8%)
CIE-LABlab(28.56, 30.69, -56.28)
CIE-LCHlch(28.56, 64.11, 298.60°)
OKLaboklab(39.64% 0.0051 -0.1626)
OKLCHoklch(39.64% 0.163 271.8)
XYZxyz(8.4036, 5.6673, 32.0971)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C379C #9C912C
analogous
#2C6F9C #2C379C #592C9C
triadic
#2C379C #9C2C37 #379C2C
tetradic
#2C379C #9C2C6F #9C912C #2C9C59
square
#2C379C #9C2C6F #9C912C #2C9C59
split-complementary
#2C379C #9C592C #6F9C2C
monochromatic
#11153D #1F266C #2C379C #3D4BC8 #6D77D6

Accessibility & contrast

On white

9.84
#2C379C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C379C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C379C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C379C#FFFFFF#000000##FFFFFF
##2C379C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c379c;
/* rgb */ color: rgb(44, 55, 156);
/* oklch */ color: oklch(39.6% 0.163 271.8);
Tailwind
colors: {
  custom: {
    50: '#756eba',
    500: '#2c379c',
    950: '#000000',
  },
}
SCSS
$custom: #2c379c;
$custom-light: #756eba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c379c",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 234.107,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39641,
    "c": 0.16264,
    "h": 271.8
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#2C379C
secondary
#BDB467
accent
#D049DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C379C

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

Preview Lab → · Contrast checker → · Palette generator →

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