#2C379F#2C379F

#2C379F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.167 H 271.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2C379F
RGBrgb(44, 55, 159)
HSLhsl(234, 57%, 40%)
HSVhsv(234, 72%, 62%)
CMYKcmyk(72.3%, 65.4%, 0%, 37.6%)
CIE-LABlab(28.83, 31.79, -57.67)
CIE-LCHlch(28.83, 65.85, 298.86°)
OKLaboklab(39.92% 0.0049 -0.1666)
OKLCHoklch(39.92% 0.167 271.7)
XYZxyz(8.6608, 5.7702, 33.4515)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C379F #9F942C
analogous
#2C709F #2C379F #5B2C9F
triadic
#2C379F #9F2C37 #379F2C
tetradic
#2C379F #9F2C70 #9F942C #2C9F5B
square
#2C379F #9F2C70 #9F942C #2C9F5B
split-complementary
#2C379F #9F5B2C #709F2C
monochromatic
#11163F #1F266F #2C379F #3E4CCA #6E78D7

Accessibility & contrast

On white

9.75
#2C379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C379F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C379F#FFFFFF#000000##FFFFFF
##2C379F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c379f;
/* rgb */ color: rgb(44, 55, 159);
/* oklch */ color: oklch(39.9% 0.167 271.7);
Tailwind
colors: {
  custom: {
    50: '#766ebc',
    500: '#2c379f',
    950: '#000000',
  },
}
SCSS
$custom: #2c379f;
$custom-light: #766ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c379f",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 234.261,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.16668,
    "h": 271.7
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#2C379F
secondary
#BEB669
accent
#D148E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C379F

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

Preview Lab → · Contrast checker → · Palette generator →

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