#2D329D#2D329D

#2D329D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.170 H 273.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2D329D
RGBrgb(45, 50, 157)
HSLhsl(237, 55%, 40%)
HSVhsv(237, 71%, 62%)
CMYKcmyk(71.3%, 68.2%, 0%, 38.4%)
CIE-LABlab(27.50, 34.40, -58.63)
CIE-LCHlch(27.50, 67.97, 300.40°)
OKLaboklab(38.91% 0.0097 -0.1694)
OKLCHoklch(38.91% 0.17 273.3)
XYZxyz(8.3066, 5.2726, 32.4717)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D329D #9D982D
analogous
#2D6A9D #2D329D #602D9D
triadic
#2D329D #9D2D32 #329D2D
tetradic
#2D329D #9D2D6A #9D982D #2D9D60
square
#2D329D #9D2D6A #9D982D #2D9D60
split-complementary
#2D329D #9D602D #6A9D2D
monochromatic
#12143E #1F236D #2D329D #3F45C8 #6F73D6

Accessibility & contrast

On white

10.22
#2D329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D329D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D329D#FFFFFF#000000##FFFFFF
##2D329D1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d329d;
/* rgb */ color: rgb(45, 50, 157);
/* oklch */ color: oklch(38.9% 0.170 273.3);
Tailwind
colors: {
  custom: {
    50: '#766abb',
    500: '#2d329d',
    950: '#000000',
  },
}
SCSS
$custom: #2d329d;
$custom-light: #766abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d329d",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 237.321,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38912,
    "c": 0.1697,
    "h": 273.3
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D329D

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

Preview Lab → · Contrast checker → · Palette generator →

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