#2D2C97#2D2C97

#2D2C97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.169 H 274.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2D2C97
RGBrgb(45, 44, 151)
HSLhsl(241, 55%, 38%)
HSVhsv(241, 71%, 59%)
CMYKcmyk(70.2%, 70.9%, 0%, 40.8%)
CIE-LABlab(25.54, 36.03, -58.17)
CIE-LCHlch(25.54, 68.43, 301.78°)
OKLaboklab(37.32% 0.0145 -0.1681)
OKLCHoklch(37.32% 0.169 274.9)
XYZxyz(7.5669, 4.5929, 29.7599)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C97 #96972C
analogous
#2C6097 #2D2C97 #622C97
triadic
#2D2C97 #972D2C #2C972D
tetradic
#2D2C97 #972C60 #96972C #2C9762
square
#2D2C97 #972C60 #96972C #2C9762
split-complementary
#2D2C97 #97622C #60972C
monochromatic
#111038 #1F1E68 #2D2C97 #3C3AC6 #6B6AD4

Accessibility & contrast

On white

10.94
#2D2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2C97
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C97#FFFFFF#000000##FFFFFF
##2D2C971.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2c97;
/* rgb */ color: rgb(45, 44, 151);
/* oklch */ color: oklch(37.3% 0.169 274.9);
Tailwind
colors: {
  custom: {
    50: '#7566b7',
    500: '#2d2c97',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c97;
$custom-light: #7566b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c97",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 240.561,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37324,
    "c": 0.16871,
    "h": 274.9
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#2D2C97
secondary
#B9BA65
accent
#DE4ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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