#2D328E#2D328E

#2D328E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.149 H 274.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2D328E
RGBrgb(45, 50, 142)
HSLhsl(237, 52%, 37%)
HSVhsv(237, 68%, 56%)
CMYKcmyk(68.3%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.13, 29.01, -51.66)
CIE-LCHlch(26.13, 59.24, 299.32°)
OKLaboklab(37.5% 0.011 -0.149)
OKLCHoklch(37.5% 0.149 274.2)
XYZxyz(7.1037, 4.7914, 26.1364)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D328E #8E892D
analogous
#2D638E #2D328E #592D8E
triadic
#2D328E #8E2D32 #328E2D
tetradic
#2D328E #8E2D63 #8E892D #2D8E59
square
#2D328E #8E2D63 #8E892D #2D8E59
split-complementary
#2D328E #8E592D #638E2D
monochromatic
#101131 #1E2260 #2D328E #3C42BC #676CCF

Accessibility & contrast

On white

10.72
#2D328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D328E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D328E#FFFFFF#000000##FFFFFF
##2D328E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d328e;
/* rgb */ color: rgb(45, 50, 142);
/* oklch */ color: oklch(37.5% 0.149 274.2);
Tailwind
colors: {
  custom: {
    50: '#736ab0',
    500: '#2d328e',
    950: '#000000',
  },
}
SCSS
$custom: #2d328e;
$custom-light: #736ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d328e",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 236.907,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37496,
    "c": 0.14939,
    "h": 274.2
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#2D328E
secondary
#B5B161
accent
#D44CDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D328E

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

Preview Lab → · Contrast checker → · Palette generator →

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