#2C2A85#2C2A85

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

Color values

HEX#2C2A85
RGBrgb(44, 42, 133)
HSLhsl(241, 52%, 34%)
HSVhsv(241, 68%, 52%)
CMYKcmyk(66.9%, 68.4%, 0%, 47.8%)
CIE-LABlab(23.29, 30.84, -50.71)
CIE-LCHlch(23.29, 59.35, 301.31°)
OKLaboklab(35.15% 0.017 -0.1463)
OKLCHoklch(35.15% 0.147 276.6)
XYZxyz(6.0989, 3.8843, 22.6141)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A85 #83852A
analogous
#2A5685 #2C2A85 #5A2A85
triadic
#2C2A85 #852C2A #2A852C
tetradic
#2C2A85 #852A56 #83852A #2A855A
square
#2C2A85 #852A56 #83852A #2A855A
split-complementary
#2C2A85 #855A2A #56852A
monochromatic
#0D0D28 #1D1B56 #2C2A85 #3B39B4 #605DCC

Accessibility & contrast

On white

11.82
#2C2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2A85
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A85#FFFFFF#000000##FFFFFF
##2C2A851.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2a85;
/* rgb */ color: rgb(44, 42, 133);
/* oklch */ color: oklch(35.2% 0.147 276.6);
Tailwind
colors: {
  custom: {
    50: '#7164a9',
    500: '#2c2a85',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a85;
$custom-light: #7164a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a85",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 241.319,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35151,
    "c": 0.14727,
    "h": 276.6
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#2C2A85
secondary
#B0B259
accent
#DB4CD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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