#2C2A86#2C2A86

#2C2A86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.149 H 276.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2C2A86
RGBrgb(44, 42, 134)
HSLhsl(241, 52%, 35%)
HSVhsv(241, 69%, 53%)
CMYKcmyk(67.2%, 68.7%, 0%, 47.5%)
CIE-LABlab(23.38, 31.19, -51.18)
CIE-LCHlch(23.38, 59.94, 301.36°)
OKLaboklab(35.25% 0.0169 -0.1477)
OKLCHoklch(35.25% 0.149 276.5)
XYZxyz(6.1683, 3.9121, 22.9797)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A86 #84862A
analogous
#2A5686 #2C2A86 #5A2A86
triadic
#2C2A86 #862C2A #2A862C
tetradic
#2C2A86 #862A56 #84862A #2A865A
square
#2C2A86 #862A56 #84862A #2A865A
split-complementary
#2C2A86 #865A2A #56862A
monochromatic
#0D0D29 #1D1B57 #2C2A86 #3B39B5 #605ECD

Accessibility & contrast

On white

11.78
#2C2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A86
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A86#FFFFFF#000000##FFFFFF
##2C2A861.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2a86;
/* rgb */ color: rgb(44, 42, 134);
/* oklch */ color: oklch(35.2% 0.149 276.5);
Tailwind
colors: {
  custom: {
    50: '#7164aa',
    500: '#2c2a86',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a86;
$custom-light: #7164aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a86",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 241.304,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35247,
    "c": 0.14864,
    "h": 276.5
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#2C2A86
secondary
#B0B25A
accent
#DC4CD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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