#2C2B95#2C2B95

#2C2B95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.167 H 274.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2C2B95
RGBrgb(44, 43, 149)
HSLhsl(241, 55%, 38%)
HSVhsv(241, 71%, 58%)
CMYKcmyk(70.5%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.05, 35.83, -57.75)
CIE-LCHlch(25.05, 67.96, 301.82°)
OKLaboklab(36.9% 0.0141 -0.1669)
OKLCHoklch(36.9% 0.167 274.8)
XYZxyz(7.3256, 4.4325, 28.8974)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B95 #94952B
analogous
#2B5F95 #2C2B95 #612B95
triadic
#2C2B95 #952C2B #2B952C
tetradic
#2C2B95 #952B5F #94952B #2B9561
square
#2C2B95 #952B5F #94952B #2B9561
split-complementary
#2C2B95 #95612B #5F952B
monochromatic
#101036 #1E1D66 #2C2B95 #3A39C4 #6867D3

Accessibility & contrast

On white

11.13
#2C2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B95
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B95#FFFFFF#000000##FFFFFF
##2C2B951.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2b95;
/* rgb */ color: rgb(44, 43, 149);
/* oklch */ color: oklch(36.9% 0.167 274.8);
Tailwind
colors: {
  custom: {
    50: '#7565b5',
    500: '#2c2b95',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b95;
$custom-light: #7565b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b95",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 240.566,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.16748,
    "h": 274.8
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#2C2B95
secondary
#B9BA62
accent
#DF49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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