#2D328F#2D328F

#2D328F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.151 H 274.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2D328F
RGBrgb(45, 50, 143)
HSLhsl(237, 52%, 37%)
HSVhsv(237, 69%, 56%)
CMYKcmyk(68.5%, 65%, 0%, 43.9%)
CIE-LABlab(26.22, 29.37, -52.13)
CIE-LCHlch(26.22, 59.83, 299.40°)
OKLaboklab(37.59% 0.0109 -0.1504)
OKLCHoklch(37.59% 0.151 274.1)
XYZxyz(7.1791, 4.8216, 26.5336)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D328F #8F8A2D
analogous
#2D638F #2D328F #592D8F
triadic
#2D328F #8F2D32 #328F2D
tetradic
#2D328F #8F2D63 #8F8A2D #2D8F59
square
#2D328F #8F2D63 #8F8A2D #2D8F59
split-complementary
#2D328F #8F592D #638F2D
monochromatic
#101132 #1E2260 #2D328F #3C42BE #676CCF

Accessibility & contrast

On white

10.69
#2D328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D328F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D328F#FFFFFF#000000##FFFFFF
##2D328F1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d328f;
/* rgb */ color: rgb(45, 50, 143);
/* oklch */ color: oklch(37.6% 0.151 274.1);
Tailwind
colors: {
  custom: {
    50: '#736ab1',
    500: '#2d328f',
    950: '#000000',
  },
}
SCSS
$custom: #2d328f;
$custom-light: #736ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d328f",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 236.939,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.15078,
    "h": 274.1
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#2D328F
secondary
#B6B262
accent
#D44CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D328F

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

Preview Lab → · Contrast checker → · Palette generator →

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