#2C2095#2C2095

#2C2095 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.179 H 276.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2C2095
RGBrgb(44, 32, 149)
HSLhsl(246, 65%, 35%)
HSVhsv(246, 79%, 58%)
CMYKcmyk(70.5%, 78.5%, 0%, 41.6%)
CIE-LABlab(22.79, 42.19, -61.49)
CIE-LCHlch(22.79, 74.57, 304.46°)
OKLaboklab(35.28% 0.0206 -0.1777)
OKLCHoklch(35.28% 0.179 276.6)
XYZxyz(6.9783, 3.7378, 28.7817)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2095 #899520
analogous
#204E95 #2C2095 #662095
triadic
#2C2095 #952C20 #20952C
tetradic
#2C2095 #95204E #899520 #209566
square
#2C2095 #95204E #899520 #209566
split-complementary
#2C2095 #956620 #4E9520
monochromatic
#0E0A30 #1D1563 #2C2095 #3B2BC7 #6355DA

Accessibility & contrast

On white

12.02
#2C2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2095
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2095#FFFFFF#000000##FFFFFF
##2C20951.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2095;
/* rgb */ color: rgb(44, 32, 149);
/* oklch */ color: oklch(35.3% 0.179 276.6);
Tailwind
colors: {
  custom: {
    50: '#765eb5',
    500: '#2c2095',
    950: '#000000',
  },
}
SCSS
$custom: #2c2095;
$custom-light: #765eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2095",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 246.154,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35285,
    "c": 0.1789,
    "h": 276.6
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#2C2095
secondary
#B3BE53
accent
#E840D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C2095

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

Preview Lab → · Contrast checker → · Palette generator →

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