#2D327F#2D327F

#2D327F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.128 H 275.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2D327F
RGBrgb(45, 50, 127)
HSLhsl(236, 48%, 34%)
HSVhsv(236, 65%, 50%)
CMYKcmyk(64.6%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.86, 23.54, -44.36)
CIE-LCHlch(24.86, 50.22, 297.95°)
OKLaboklab(36.16% 0.0115 -0.1276)
OKLCHoklch(36.16% 0.128 275.2)
XYZxyz(6.0523, 4.3709, 20.5993)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D327F #7F7A2D
analogous
#2D5B7F #2D327F #512D7F
triadic
#2D327F #7F2D32 #327F2D
tetradic
#2D327F #7F2D5B #7F7A2D #2D7F51
square
#2D327F #7F2D5B #7F7A2D #2D7F51
split-complementary
#2D327F #7F512D #5B7F2D
monochromatic
#0D0E25 #1D2052 #2D327F #3D44AC #6066C7

Accessibility & contrast

On white

11.20
#2D327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D327F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D327F#FFFFFF#000000##FFFFFF
##2D327F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d327f;
/* rgb */ color: rgb(45, 50, 127);
/* oklch */ color: oklch(36.2% 0.128 275.2);
Tailwind
colors: {
  custom: {
    50: '#7069a5',
    500: '#2d327f',
    950: '#000000',
  },
}
SCSS
$custom: #2d327f;
$custom-light: #7069a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d327f",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 236.341,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36163,
    "c": 0.1281,
    "h": 275.2
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#2D327F
secondary
#ADA85B
accent
#CF51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D327F

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

Preview Lab → · Contrast checker → · Palette generator →

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