#2D2C95#2D2C95

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

Color values

HEX#2D2C95
RGBrgb(45, 44, 149)
HSLhsl(241, 54%, 38%)
HSVhsv(241, 70%, 58%)
CMYKcmyk(69.8%, 70.5%, 0%, 41.6%)
CIE-LABlab(25.35, 35.34, -57.26)
CIE-LCHlch(25.35, 67.29, 301.68°)
OKLaboklab(37.13% 0.0147 -0.1654)
OKLCHoklch(37.13% 0.166 275.1)
XYZxyz(7.4059, 4.5285, 28.9117)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C95 #94952C
analogous
#2C6095 #2D2C95 #612C95
triadic
#2D2C95 #952D2C #2C952D
tetradic
#2D2C95 #952C60 #94952C #2C9561
square
#2D2C95 #952C60 #94952C #2C9561
split-complementary
#2D2C95 #95612C #60952C
monochromatic
#101037 #1F1E66 #2D2C95 #3B3AC4 #6A69D3

Accessibility & contrast

On white

11.02
#2D2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C95
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C95#FFFFFF#000000##FFFFFF
##2D2C951.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.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: #2d2c95;
/* rgb */ color: rgb(45, 44, 149);
/* oklch */ color: oklch(37.1% 0.166 275.1);
Tailwind
colors: {
  custom: {
    50: '#7566b5',
    500: '#2d2c95',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c95;
$custom-light: #7566b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c95",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 240.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37125,
    "c": 0.16609,
    "h": 275.1
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#2D2C95
secondary
#B8B964
accent
#DE4ADC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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