#2D328C#2D328C

#2D328C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.147 H 274.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2D328C
RGBrgb(45, 50, 140)
HSLhsl(237, 51%, 36%)
HSVhsv(237, 68%, 55%)
CMYKcmyk(67.9%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.96, 28.28, -50.70)
CIE-LCHlch(25.96, 58.06, 299.15°)
OKLaboklab(37.31% 0.0111 -0.1462)
OKLCHoklch(37.31% 0.147 274.3)
XYZxyz(6.9548, 4.7319, 25.3527)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D328C #8C872D
analogous
#2D628C #2D328C #582D8C
triadic
#2D328C #8C2D32 #328C2D
tetradic
#2D328C #8C2D62 #8C872D #2D8C58
square
#2D328C #8C2D62 #8C872D #2D8C58
split-complementary
#2D328C #8C582D #628C2D
monochromatic
#0F112F #1E215E #2D328C #3C43BA #666BCE

Accessibility & contrast

On white

10.79
#2D328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D328C
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D328C#FFFFFF#000000##FFFFFF
##2D328C1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d328c;
/* rgb */ color: rgb(45, 50, 140);
/* oklch */ color: oklch(37.3% 0.147 274.3);
Tailwind
colors: {
  custom: {
    50: '#726aae',
    500: '#2d328c',
    950: '#000000',
  },
}
SCSS
$custom: #2d328c;
$custom-light: #726aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d328c",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 236.842,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.14662,
    "h": 274.3
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#2D328C
secondary
#B4B060
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D328C

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

Preview Lab → · Contrast checker → · Palette generator →

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