#2D329F#2D329F

#2D329F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.172 H 273.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2D329F
RGBrgb(45, 50, 159)
HSLhsl(237, 56%, 40%)
HSVhsv(237, 72%, 62%)
CMYKcmyk(71.7%, 68.6%, 0%, 37.6%)
CIE-LABlab(27.69, 35.11, -59.53)
CIE-LCHlch(27.69, 69.11, 300.53°)
OKLaboklab(39.11% 0.0095 -0.1721)
OKLCHoklch(39.11% 0.172 273.1)
XYZxyz(8.4787, 5.3415, 33.3783)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D329F #9F9A2D
analogous
#2D6B9F #2D329F #612D9F
triadic
#2D329F #9F2D32 #329F2D
tetradic
#2D329F #9F2D6B #9F9A2D #2D9F61
square
#2D329F #9F2D6B #9F9A2D #2D9F61
split-complementary
#2D329F #9F612D #6B9F2D
monochromatic
#121440 #20236F #2D329F #4046C9 #7074D6

Accessibility & contrast

On white

10.15
#2D329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D329F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D329F#FFFFFF#000000##FFFFFF
##2D329F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d329f;
/* rgb */ color: rgb(45, 50, 159);
/* oklch */ color: oklch(39.1% 0.172 273.1);
Tailwind
colors: {
  custom: {
    50: '#776abc',
    500: '#2d329f',
    950: '#000000',
  },
}
SCSS
$custom: #2d329f;
$custom-light: #776abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d329f",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 237.368,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.39107,
    "c": 0.17233,
    "h": 273.1
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#2D329F
secondary
#BEBA6A
accent
#D949DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D329F

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

Preview Lab → · Contrast checker → · Palette generator →

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