#2D329C#2D329C

#2D329C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.168 H 273.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2D329C
RGBrgb(45, 50, 156)
HSLhsl(237, 55%, 39%)
HSVhsv(237, 71%, 61%)
CMYKcmyk(71.2%, 67.9%, 0%, 38.8%)
CIE-LABlab(27.40, 34.04, -58.17)
CIE-LCHlch(27.40, 67.40, 300.34°)
OKLaboklab(38.82% 0.0098 -0.1681)
OKLCHoklch(38.82% 0.168 273.3)
XYZxyz(8.2215, 5.2386, 32.0239)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D329C #9C972D
analogous
#2D6A9C #2D329C #602D9C
triadic
#2D329C #9C2D32 #329C2D
tetradic
#2D329C #9C2D6A #9C972D #2D9C60
square
#2D329C #9C2D6A #9C972D #2D9C60
split-complementary
#2D329C #9C602D #6A9C2D
monochromatic
#12143D #1F236D #2D329C #3F45C8 #6E73D5

Accessibility & contrast

On white

10.25
#2D329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D329C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D329C#FFFFFF#000000##FFFFFF
##2D329C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d329c;
/* rgb */ color: rgb(45, 50, 156);
/* oklch */ color: oklch(38.8% 0.168 273.3);
Tailwind
colors: {
  custom: {
    50: '#766aba',
    500: '#2d329c',
    950: '#000000',
  },
}
SCSS
$custom: #2d329c;
$custom-light: #766aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d329c",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 237.297,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.16836,
    "h": 273.3
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#2D329C
secondary
#BCB968
accent
#D849DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D329C

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

Preview Lab → · Contrast checker → · Palette generator →

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