#2C2D95#2C2D95

#2C2D95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.165 H 274.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2C2D95
RGBrgb(44, 45, 149)
HSLhsl(239, 54%, 38%)
HSVhsv(239, 70%, 58%)
CMYKcmyk(70.5%, 69.8%, 0%, 41.6%)
CIE-LABlab(25.51, 34.59, -57.00)
CIE-LCHlch(25.51, 66.67, 301.25°)
OKLaboklab(37.22% 0.0128 -0.1647)
OKLCHoklch(37.22% 0.165 274.4)
XYZxyz(7.4001, 4.5815, 28.9223)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D95 #95942C
analogous
#2C6195 #2C2D95 #602C95
triadic
#2C2D95 #952C2D #2D952C
tetradic
#2C2D95 #952C61 #95942C #2C9560
square
#2C2D95 #952C61 #95942C #2C9560
split-complementary
#2C2D95 #95602C #61952C
monochromatic
#101037 #1E1F66 #2C2D95 #3A3BC4 #696AD3

Accessibility & contrast

On white

10.96
#2C2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D95
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D95#FFFFFF#000000##FFFFFF
##2C2D951.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2d95;
/* rgb */ color: rgb(44, 45, 149);
/* oklch */ color: oklch(37.2% 0.165 274.4);
Tailwind
colors: {
  custom: {
    50: '#7466b5',
    500: '#2c2d95',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d95;
$custom-light: #7466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d95",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 239.429,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37223,
    "c": 0.16519,
    "h": 274.4
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#2C2D95
secondary
#B9B864
accent
#DC4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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