#2C279E#2C279E

#2C279E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.183 H 274.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2C279E
RGBrgb(44, 39, 158)
HSLhsl(243, 60%, 39%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(72.2%, 75.3%, 0%, 38%)
CIE-LABlab(25.12, 41.27, -63.15)
CIE-LCHlch(25.12, 75.44, 303.17°)
OKLaboklab(37.22% 0.0149 -0.1826)
OKLCHoklch(37.22% 0.183 274.7)
XYZxyz(7.9337, 4.4544, 32.7828)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C279E #999E27
analogous
#275D9E #2C279E #67279E
triadic
#2C279E #9E2C27 #279E2C
tetradic
#2C279E #9E275D #999E27 #279E67
square
#2C279E #9E275D #999E27 #279E67
split-complementary
#2C279E #9E6727 #5D9E27
monochromatic
#110F3C #1E1B6D #2C279E #3B35CD #6B66D9

Accessibility & contrast

On white

11.11
#2C279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C279E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C279E#FFFFFF#000000##FFFFFF
##2C279E1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c279e;
/* rgb */ color: rgb(44, 39, 158);
/* oklch */ color: oklch(37.2% 0.183 274.7);
Tailwind
colors: {
  custom: {
    50: '#7763bc',
    500: '#2c279e',
    950: '#000000',
  },
}
SCSS
$custom: #2c279e;
$custom-light: #7763bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c279e",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 242.521,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3722,
    "c": 0.18323,
    "h": 274.7
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#2C279E
secondary
#BBBF62
accent
#E444DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C279E

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

Preview Lab → · Contrast checker → · Palette generator →

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