#2C379E#2C379E

#2C379E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.165 H 271.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2C379E
RGBrgb(44, 55, 158)
HSLhsl(234, 56%, 40%)
HSVhsv(234, 72%, 62%)
CMYKcmyk(72.2%, 65.2%, 0%, 38%)
CIE-LABlab(28.74, 31.42, -57.21)
CIE-LCHlch(28.74, 65.27, 298.78°)
OKLaboklab(39.83% 0.005 -0.1653)
OKLCHoklch(39.83% 0.165 271.7)
XYZxyz(8.5744, 5.7356, 32.9963)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C379E #9E932C
analogous
#2C709E #2C379E #5A2C9E
triadic
#2C379E #9E2C37 #379E2C
tetradic
#2C379E #9E2C70 #9E932C #2C9E5A
square
#2C379E #9E2C70 #9E932C #2C9E5A
split-complementary
#2C379E #9E5A2C #709E2C
monochromatic
#11163E #1F266E #2C379E #3E4BC9 #6E78D7

Accessibility & contrast

On white

9.78
#2C379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C379E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C379E#FFFFFF#000000##FFFFFF
##2C379E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c379e;
/* rgb */ color: rgb(44, 55, 158);
/* oklch */ color: oklch(39.8% 0.165 271.7);
Tailwind
colors: {
  custom: {
    50: '#766ebc',
    500: '#2c379e',
    950: '#000000',
  },
}
SCSS
$custom: #2c379e;
$custom-light: #766ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c379e",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 234.211,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.16534,
    "h": 271.7
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C379E

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

Preview Lab → · Contrast checker → · Palette generator →

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