#2C379A#2C379A

#2C379A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.160 H 271.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2C379A
RGBrgb(44, 55, 154)
HSLhsl(234, 56%, 39%)
HSVhsv(234, 71%, 60%)
CMYKcmyk(71.4%, 64.3%, 0%, 39.6%)
CIE-LABlab(28.38, 29.96, -55.35)
CIE-LCHlch(28.38, 62.94, 298.42°)
OKLaboklab(39.46% 0.0052 -0.1598)
OKLCHoklch(39.46% 0.16 271.9)
XYZxyz(8.2357, 5.6001, 31.2125)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C379A #9A8F2C
analogous
#2C6E9A #2C379A #582C9A
triadic
#2C379A #9A2C37 #379A2C
tetradic
#2C379A #9A2C6E #9A8F2C #2C9A58
square
#2C379A #9A2C6E #9A8F2C #2C9A58
split-complementary
#2C379A #9A582C #6E9A2C
monochromatic
#11153B #1E266A #2C379A #3C4AC7 #6C76D5

Accessibility & contrast

On white

9.90
#2C379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C379A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C379A#FFFFFF#000000##FFFFFF
##2C379A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c379a;
/* rgb */ color: rgb(44, 55, 154);
/* oklch */ color: oklch(39.5% 0.160 271.9);
Tailwind
colors: {
  custom: {
    50: '#756eb9',
    500: '#2c379a',
    950: '#000000',
  },
}
SCSS
$custom: #2c379a;
$custom-light: #756eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c379a",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 234,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.15992,
    "h": 271.9
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#2C379A
secondary
#BCB366
accent
#D049DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C379A

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

Preview Lab → · Contrast checker → · Palette generator →

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