#2C2079#2C2079

#2C2079 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.143 H 280.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#2C2079
RGBrgb(44, 32, 121)
HSLhsl(248, 58%, 30%)
HSVhsv(248, 74%, 47%)
CMYKcmyk(63.6%, 73.6%, 0%, 52.5%)
CIE-LABlab(19.84, 32.94, -48.77)
CIE-LCHlch(19.84, 58.85, 304.04°)
OKLaboklab(32.32% 0.027 -0.1406)
OKLCHoklch(32.32% 0.143 280.9)
XYZxyz(5.0053, 2.9486, 18.3908)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2079 #6D7920
analogous
#204079 #2C2079 #592079
triadic
#2C2079 #792C20 #20792C
tetradic
#2C2079 #792040 #6D7920 #207959
square
#2C2079 #792040 #6D7920 #207959
split-complementary
#2C2079 #795920 #407920
monochromatic
#090618 #1A1349 #2C2079 #3E2DA9 #5845CE

Accessibility & contrast

On white

13.21
#2C2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2C2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2079
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2079#FFFFFF#000000##FFFFFF
##2C20791.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c2079;
/* rgb */ color: rgb(44, 32, 121);
/* oklch */ color: oklch(32.3% 0.143 280.9);
Tailwind
colors: {
  custom: {
    50: '#6f5da1',
    500: '#2c2079',
    950: '#000000',
  },
}
SCSS
$custom: #2c2079;
$custom-light: #6f5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2079",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 248.09,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.14317,
    "h": 280.9
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#2C2079
secondary
#9FAC49
accent
#E146CC
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2C2079

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

Preview Lab → · Contrast checker → · Palette generator →

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