#2C2A80#2C2A80

#2C2A80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.140 H 277.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2C2A80
RGBrgb(44, 42, 128)
HSLhsl(241, 51%, 33%)
HSVhsv(241, 67%, 50%)
CMYKcmyk(65.6%, 67.2%, 0%, 49.8%)
CIE-LABlab(22.82, 29.07, -48.32)
CIE-LCHlch(22.82, 56.38, 301.03°)
OKLaboklab(34.67% 0.0176 -0.1393)
OKLCHoklch(34.67% 0.14 277.2)
XYZxyz(5.7617, 3.7494, 20.8380)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A80 #7E802A
analogous
#2A5380 #2C2A80 #572A80
triadic
#2C2A80 #802C2A #2A802C
tetradic
#2C2A80 #802A53 #7E802A #2A8057
square
#2C2A80 #802A53 #7E802A #2A8057
split-complementary
#2C2A80 #80572A #53802A
monochromatic
#0C0C24 #1C1B52 #2C2A80 #3C39AE #5E5BC9

Accessibility & contrast

On white

12.00
#2C2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A80
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A80#FFFFFF#000000##FFFFFF
##2C2A801.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2a80;
/* rgb */ color: rgb(44, 42, 128);
/* oklch */ color: oklch(34.7% 0.140 277.2);
Tailwind
colors: {
  custom: {
    50: '#7064a6',
    500: '#2c2a80',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a80;
$custom-light: #7064a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a80",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 241.395,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34675,
    "c": 0.14038,
    "h": 277.2
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#2C2A80
secondary
#ADAF57
accent
#DA4ED7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2C2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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