#2D329B#2D329B

#2D329B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.167 H 273.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2D329B
RGBrgb(45, 50, 155)
HSLhsl(237, 55%, 39%)
HSVhsv(237, 71%, 61%)
CMYKcmyk(71%, 67.7%, 0%, 39.2%)
CIE-LABlab(27.31, 33.68, -57.71)
CIE-LCHlch(27.31, 66.82, 300.27°)
OKLaboklab(38.72% 0.0099 -0.1667)
OKLCHoklch(38.72% 0.167 273.4)
XYZxyz(8.1372, 5.2049, 31.5798)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D329B #9B962D
analogous
#2D699B #2D329B #5F2D9B
triadic
#2D329B #9B2D32 #329B2D
tetradic
#2D329B #9B2D69 #9B962D #2D9B5F
square
#2D329B #9B2D69 #9B962D #2D9B5F
split-complementary
#2D329B #9B5F2D #699B2D
monochromatic
#11133C #1F236C #2D329B #3E44C7 #6E72D5

Accessibility & contrast

On white

10.29
#2D329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D329B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D329B#FFFFFF#000000##FFFFFF
##2D329B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d329b;
/* rgb */ color: rgb(45, 50, 155);
/* oklch */ color: oklch(38.7% 0.167 273.4);
Tailwind
colors: {
  custom: {
    50: '#766ab9',
    500: '#2d329b',
    950: '#000000',
  },
}
SCSS
$custom: #2d329b;
$custom-light: #766ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d329b",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 237.273,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.16704,
    "h": 273.4
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#2D329B
secondary
#BCB868
accent
#D849DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D329B

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

Preview Lab → · Contrast checker → · Palette generator →

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