#2C279A#2C279A

#2C279A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.178 H 275.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2C279A
RGBrgb(44, 39, 154)
HSLhsl(243, 60%, 38%)
HSVhsv(243, 75%, 60%)
CMYKcmyk(71.4%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.70, 39.93, -61.40)
CIE-LCHlch(24.70, 73.24, 303.04°)
OKLaboklab(36.8% 0.0157 -0.1775)
OKLCHoklch(36.8% 0.178 275.1)
XYZxyz(7.5950, 4.3189, 30.9990)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C279A #959A27
analogous
#275B9A #2C279A #66279A
triadic
#2C279A #9A2C27 #279A2C
tetradic
#2C279A #9A275B #959A27 #279A66
square
#2C279A #9A275B #959A27 #279A66
split-complementary
#2C279A #9A6627 #5B9A27
monochromatic
#100E38 #1E1B69 #2C279A #3A33CB #6964D8

Accessibility & contrast

On white

11.27
#2C279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C279A
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C279A#FFFFFF#000000##FFFFFF
##2C279A1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c279a;
/* rgb */ color: rgb(44, 39, 154);
/* oklch */ color: oklch(36.8% 0.178 275.1);
Tailwind
colors: {
  custom: {
    50: '#7663b9',
    500: '#2c279a',
    950: '#000000',
  },
}
SCSS
$custom: #2c279a;
$custom-light: #7663b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c279a",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 242.609,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36795,
    "c": 0.17821,
    "h": 275.1
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#2C279A
secondary
#B9BD5F
accent
#E345DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C279A

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

Preview Lab → · Contrast checker → · Palette generator →

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