#2C279D#2C279D

#2C279D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.182 H 274.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2C279D
RGBrgb(44, 39, 157)
HSLhsl(243, 60%, 38%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(72%, 75.2%, 0%, 38.4%)
CIE-LABlab(25.01, 40.94, -62.71)
CIE-LCHlch(25.01, 74.89, 303.14°)
OKLaboklab(37.11% 0.0151 -0.1813)
OKLCHoklch(37.11% 0.182 274.8)
XYZxyz(7.8480, 4.4201, 32.3313)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C279D #989D27
analogous
#275D9D #2C279D #67279D
triadic
#2C279D #9D2C27 #279D2C
tetradic
#2C279D #9D275D #989D27 #279D67
square
#2C279D #9D275D #989D27 #279D67
split-complementary
#2C279D #9D6727 #5D9D27
monochromatic
#110F3B #1E1B6C #2C279D #3B35CD #6A66D9

Accessibility & contrast

On white

11.15
#2C279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C279D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C279D#FFFFFF#000000##FFFFFF
##2C279D1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c279d;
/* rgb */ color: rgb(44, 39, 157);
/* oklch */ color: oklch(37.1% 0.182 274.8);
Tailwind
colors: {
  custom: {
    50: '#7763bb',
    500: '#2c279d',
    950: '#000000',
  },
}
SCSS
$custom: #2c279d;
$custom-light: #7763bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c279d",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 242.542,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37113,
    "c": 0.18198,
    "h": 274.8
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#2C279D
secondary
#BBBF61
accent
#E344DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C279D

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

Preview Lab → · Contrast checker → · Palette generator →

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