#2C2C95#2C2C95

#2C2C95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.166 H 274.6°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2C2C95
RGBrgb(44, 44, 149)
HSLhsl(240, 54%, 38%)
HSVhsv(240, 70%, 58%)
CMYKcmyk(70.5%, 70.5%, 0%, 41.6%)
CIE-LABlab(25.28, 35.21, -57.38)
CIE-LCHlch(25.28, 67.32, 301.54°)
OKLaboklab(37.06% 0.0135 -0.1658)
OKLCHoklch(37.06% 0.166 274.6)
XYZxyz(7.3624, 4.5061, 28.9097)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C95 #95952C
analogous
#2C6095 #2C2C95 #602C95
triadic
#2C2C95 #952C2C #2C952C
tetradic
#2C2C95 #952C60 #95952C #2C9560
square
#2C2C95 #952C60 #95952C #2C9560
split-complementary
#2C2C95 #95602C #60952C
monochromatic
#101037 #1E1E66 #2C2C95 #3A3AC4 #6969D3

Accessibility & contrast

On white

11.04
#2C2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C95
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C95#FFFFFF#000000##FFFFFF
##2C2C951.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c2c95;
/* rgb */ color: rgb(44, 44, 149);
/* oklch */ color: oklch(37.1% 0.166 274.6);
Tailwind
colors: {
  custom: {
    50: '#7566b5',
    500: '#2c2c95',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c95;
$custom-light: #7566b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c95",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37058,
    "c": 0.16634,
    "h": 274.6
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#2C2C95
secondary
#B9B964
accent
#DE4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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