#2C2995#2C2995

#2C2995 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.170 H 275.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2C2995
RGBrgb(44, 41, 149)
HSLhsl(242, 57%, 37%)
HSVhsv(242, 72%, 58%)
CMYKcmyk(70.5%, 72.5%, 0%, 41.6%)
CIE-LABlab(24.61, 37.05, -58.48)
CIE-LCHlch(24.61, 69.23, 302.36°)
OKLaboklab(36.58% 0.0154 -0.169)
OKLCHoklch(36.58% 0.17 275.2)
XYZxyz(7.2547, 4.2906, 28.8738)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2995 #929529
analogous
#295C95 #2C2995 #622995
triadic
#2C2995 #952C29 #29952C
tetradic
#2C2995 #95295C #929529 #299562
square
#2C2995 #95295C #929529 #299562
split-complementary
#2C2995 #956229 #5C9529
monochromatic
#100F35 #1E1C65 #2C2995 #3A36C5 #6764D4

Accessibility & contrast

On white

11.30
#2C2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2995
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2995#FFFFFF#000000##FFFFFF
##2C29951.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2995;
/* rgb */ color: rgb(44, 41, 149);
/* oklch */ color: oklch(36.6% 0.170 275.2);
Tailwind
colors: {
  custom: {
    50: '#7564b5',
    500: '#2c2995',
    950: '#000000',
  },
}
SCSS
$custom: #2c2995;
$custom-light: #7564b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2995",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 241.667,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36578,
    "c": 0.1697,
    "h": 275.2
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#2C2995
secondary
#B8BA60
accent
#E048DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2C2995

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

Preview Lab → · Contrast checker → · Palette generator →

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