#2C279B#2C279B

#2C279B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.179 H 275.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2C279B
RGBrgb(44, 39, 155)
HSLhsl(243, 60%, 38%)
HSVhsv(243, 75%, 61%)
CMYKcmyk(71.6%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.80, 40.27, -61.84)
CIE-LCHlch(24.80, 73.80, 303.07°)
OKLaboklab(36.9% 0.0155 -0.1788)
OKLCHoklch(36.9% 0.179 275)
XYZxyz(7.6787, 4.3523, 31.4394)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C279B #969B27
analogous
#275C9B #2C279B #66279B
triadic
#2C279B #9B2C27 #279B2C
tetradic
#2C279B #9B275C #969B27 #279B66
square
#2C279B #9B275C #969B27 #279B66
split-complementary
#2C279B #9B6627 #5C9B27
monochromatic
#100E39 #1E1B6A #2C279B #3A33CC #6964D8

Accessibility & contrast

On white

11.23
#2C279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C279B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C279B#FFFFFF#000000##FFFFFF
##2C279B1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c279b;
/* rgb */ color: rgb(44, 39, 155);
/* oklch */ color: oklch(36.9% 0.179 275.0);
Tailwind
colors: {
  custom: {
    50: '#7663ba',
    500: '#2c279b',
    950: '#000000',
  },
}
SCSS
$custom: #2c279b;
$custom-light: #7663ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c279b",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 242.586,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36901,
    "c": 0.17947,
    "h": 275
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#2C279B
secondary
#BABE60
accent
#E345DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C279B

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

Preview Lab → · Contrast checker → · Palette generator →

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