#2C379D#2C379D

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

Color values

HEX#2C379D
RGBrgb(44, 55, 157)
HSLhsl(234, 56%, 39%)
HSVhsv(234, 72%, 62%)
CMYKcmyk(72%, 65%, 0%, 38.4%)
CIE-LABlab(28.65, 31.06, -56.75)
CIE-LCHlch(28.65, 64.69, 298.69°)
OKLaboklab(39.73% 0.0051 -0.1639)
OKLCHoklch(39.73% 0.164 271.8)
XYZxyz(8.4886, 5.7013, 32.5449)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C379D #9D922C
analogous
#2C709D #2C379D #592C9D
triadic
#2C379D #9D2C37 #379D2C
tetradic
#2C379D #9D2C70 #9D922C #2C9D59
square
#2C379D #9D2C70 #9D922C #2C9D59
split-complementary
#2C379D #9D592C #709D2C
monochromatic
#11163D #1F266D #2C379D #3D4BC9 #6D77D6

Accessibility & contrast

On white

9.81
#2C379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C379D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C379D#FFFFFF#000000##FFFFFF
##2C379D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c379d;
/* rgb */ color: rgb(44, 55, 157);
/* oklch */ color: oklch(39.7% 0.164 271.8);
Tailwind
colors: {
  custom: {
    50: '#756ebb',
    500: '#2c379d',
    950: '#000000',
  },
}
SCSS
$custom: #2c379d;
$custom-light: #756ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c379d",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 234.159,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.16399,
    "h": 271.8
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#2C379D
secondary
#BDB568
accent
#D148E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C379D

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

Preview Lab → · Contrast checker → · Palette generator →

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