#2C2D79#2C2D79

#2C2D79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.126 H 276.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2C2D79
RGBrgb(44, 45, 121)
HSLhsl(239, 47%, 32%)
HSVhsv(239, 64%, 47%)
CMYKcmyk(63.6%, 62.8%, 0%, 52.5%)
CIE-LABlab(22.97, 24.55, -43.64)
CIE-LCHlch(22.97, 50.07, 299.36°)
OKLaboklab(34.59% 0.0153 -0.1255)
OKLCHoklch(34.59% 0.126 276.9)
XYZxyz(5.4272, 3.7923, 18.5314)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D79 #79782C
analogous
#2C5379 #2C2D79 #522C79
triadic
#2C2D79 #792C2D #2D792C
tetradic
#2C2D79 #792C53 #79782C #2C7952
square
#2C2D79 #792C53 #79782C #2C7952
split-complementary
#2C2D79 #79522C #53792C
monochromatic
#0B0C1F #1C1C4C #2C2D79 #3C3EA6 #5C5DC4

Accessibility & contrast

On white

11.94
#2C2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D79
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D79#FFFFFF#000000##FFFFFF
##2C2D791.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2d79;
/* rgb */ color: rgb(44, 45, 121);
/* oklch */ color: oklch(34.6% 0.126 276.9);
Tailwind
colors: {
  custom: {
    50: '#6e66a0',
    500: '#2c2d79',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d79;
$custom-light: #6e66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d79",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 239.221,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34592,
    "c": 0.12646,
    "h": 276.9
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#2C2D79
secondary
#AAA957
accent
#D551D6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2C2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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