#2C2A89#2C2A89

#2C2A89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.153 H 276.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2C2A89
RGBrgb(44, 42, 137)
HSLhsl(241, 53%, 35%)
HSVhsv(241, 69%, 54%)
CMYKcmyk(67.9%, 69.3%, 0%, 46.3%)
CIE-LABlab(23.66, 32.25, -52.59)
CIE-LCHlch(23.66, 61.70, 301.52°)
OKLaboklab(35.54% 0.0165 -0.1518)
OKLCHoklch(35.54% 0.153 276.2)
XYZxyz(6.3806, 3.9970, 24.0973)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A89 #87892A
analogous
#2A5889 #2C2A89 #5B2A89
triadic
#2C2A89 #892C2A #2A892C
tetradic
#2C2A89 #892A58 #87892A #2A895B
square
#2C2A89 #892A58 #87892A #2A895B
split-complementary
#2C2A89 #895B2A #58892A
monochromatic
#0E0D2B #1D1C5A #2C2A89 #3B38B8 #625FCE

Accessibility & contrast

On white

11.67
#2C2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A89
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A89#FFFFFF#000000##FFFFFF
##2C2A891.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2a89;
/* rgb */ color: rgb(44, 42, 137);
/* oklch */ color: oklch(35.5% 0.153 276.2);
Tailwind
colors: {
  custom: {
    50: '#7264ac',
    500: '#2c2a89',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a89;
$custom-light: #7264ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a89",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 241.263,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35539,
    "c": 0.15271,
    "h": 276.2
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#2C2A89
secondary
#B2B45B
accent
#DC4BD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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