#2C2B79#2C2B79

#2C2B79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.129 H 277.7°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2C2B79
RGBrgb(44, 43, 121)
HSLhsl(241, 48%, 32%)
HSVhsv(241, 64%, 47%)
CMYKcmyk(63.6%, 64.5%, 0%, 52.5%)
CIE-LABlab(22.46, 25.90, -44.48)
CIE-LCHlch(22.46, 51.47, 300.21°)
OKLaboklab(34.21% 0.0172 -0.128)
OKLCHoklch(34.21% 0.129 277.7)
XYZxyz(5.3527, 3.6433, 18.5066)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B79 #78792B
analogous
#2B5179 #2C2B79 #532B79
triadic
#2C2B79 #792C2B #2B792C
tetradic
#2C2B79 #792B51 #78792B #2B7953
square
#2C2B79 #792B51 #78792B #2B7953
split-complementary
#2C2B79 #79532B #51792B
monochromatic
#0B0B1F #1C1B4C #2C2B79 #3C3BA6 #5B5AC4

Accessibility & contrast

On white

12.15
#2C2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B79
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B79#FFFFFF#000000##FFFFFF
##2C2B791.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2b79;
/* rgb */ color: rgb(44, 43, 121);
/* oklch */ color: oklch(34.2% 0.129 277.7);
Tailwind
colors: {
  custom: {
    50: '#6e64a0',
    500: '#2c2b79',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b79;
$custom-light: #6e64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b79",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 240.769,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34212,
    "c": 0.12918,
    "h": 277.7
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#2C2B79
secondary
#A9AA56
accent
#D751D5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E

Preview Lab

Preview with #2C2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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