#2C2195#2C2195

#2C2195 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.178 H 276.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2C2195
RGBrgb(44, 33, 149)
HSLhsl(246, 64%, 36%)
HSVhsv(246, 78%, 58%)
CMYKcmyk(70.5%, 77.9%, 0%, 41.6%)
CIE-LABlab(22.97, 41.65, -61.17)
CIE-LCHlch(22.97, 74.01, 304.25°)
OKLaboklab(35.42% 0.0201 -0.1768)
OKLCHoklch(35.42% 0.178 276.5)
XYZxyz(7.0056, 3.7925, 28.7908)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2195 #8A9521
analogous
#215095 #2C2195 #662195
triadic
#2C2195 #952C21 #21952C
tetradic
#2C2195 #952150 #8A9521 #219566
square
#2C2195 #952150 #8A9521 #219566
split-complementary
#2C2195 #956621 #509521
monochromatic
#0E0B31 #1D1663 #2C2195 #3B2CC7 #6357DA

Accessibility & contrast

On white

11.94
#2C2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2195
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2195#FFFFFF#000000##FFFFFF
##2C21951.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2195;
/* rgb */ color: rgb(44, 33, 149);
/* oklch */ color: oklch(35.4% 0.178 276.5);
Tailwind
colors: {
  custom: {
    50: '#765fb5',
    500: '#2c2195',
    950: '#000000',
  },
}
SCSS
$custom: #2c2195;
$custom-light: #765fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2195",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 245.69,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35417,
    "c": 0.17795,
    "h": 276.5
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#2C2195
secondary
#B4BE54
accent
#E741D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2195

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

Preview Lab → · Contrast checker → · Palette generator →

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