#2C2985#2C2985

#2C2985 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.149 H 276.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2C2985
RGBrgb(44, 41, 133)
HSLhsl(242, 53%, 34%)
HSVhsv(242, 69%, 52%)
CMYKcmyk(66.9%, 69.2%, 0%, 47.8%)
CIE-LABlab(23.05, 31.48, -51.10)
CIE-LCHlch(23.05, 60.02, 301.64°)
OKLaboklab(34.98% 0.0178 -0.1474)
OKLCHoklch(34.98% 0.149 276.9)
XYZxyz(6.0639, 3.8143, 22.6024)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2985 #828529
analogous
#295485 #2C2985 #5A2985
triadic
#2C2985 #852C29 #29852C
tetradic
#2C2985 #852954 #828529 #29855A
square
#2C2985 #852954 #828529 #29855A
split-complementary
#2C2985 #855A29 #548529
monochromatic
#0D0C27 #1D1B56 #2C2985 #3B37B4 #5F5CCD

Accessibility & contrast

On white

11.91
#2C2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2985
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2985#FFFFFF#000000##FFFFFF
##2C29851.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2985;
/* rgb */ color: rgb(44, 41, 133);
/* oklch */ color: oklch(35.0% 0.149 276.9);
Tailwind
colors: {
  custom: {
    50: '#7163a9',
    500: '#2c2985',
    950: '#000000',
  },
}
SCSS
$custom: #2c2985;
$custom-light: #7163a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2985",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 241.957,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34979,
    "c": 0.14851,
    "h": 276.9
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#2C2985
secondary
#AFB258
accent
#DC4CD8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2985

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

Preview Lab → · Contrast checker → · Palette generator →

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