#2D329E#2D329E

#2D329E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.171 H 273.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2D329E
RGBrgb(45, 50, 158)
HSLhsl(237, 56%, 40%)
HSVhsv(237, 72%, 62%)
CMYKcmyk(71.5%, 68.4%, 0%, 38%)
CIE-LABlab(27.59, 34.75, -59.08)
CIE-LCHlch(27.59, 68.54, 300.46°)
OKLaboklab(39.01% 0.0096 -0.1707)
OKLCHoklch(39.01% 0.171 273.2)
XYZxyz(8.3923, 5.3069, 32.9232)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D329E #9E992D
analogous
#2D6B9E #2D329E #602D9E
triadic
#2D329E #9E2D32 #329E2D
tetradic
#2D329E #9E2D6B #9E992D #2D9E60
square
#2D329E #9E2D6B #9E992D #2D9E60
split-complementary
#2D329E #9E602D #6B9E2D
monochromatic
#12143F #1F236E #2D329E #4046C9 #6F74D6

Accessibility & contrast

On white

10.19
#2D329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D329E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D329E#FFFFFF#000000##FFFFFF
##2D329E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d329e;
/* rgb */ color: rgb(45, 50, 158);
/* oklch */ color: oklch(39.0% 0.171 273.2);
Tailwind
colors: {
  custom: {
    50: '#776abc',
    500: '#2d329e',
    950: '#000000',
  },
}
SCSS
$custom: #2d329e;
$custom-light: #776abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d329e",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 237.345,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39009,
    "c": 0.17101,
    "h": 273.2
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D329E

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

Preview Lab → · Contrast checker → · Palette generator →

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