#2D327D#2D327D

#2D327D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.125 H 275.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2D327D
RGBrgb(45, 50, 125)
HSLhsl(236, 47%, 33%)
HSVhsv(236, 64%, 49%)
CMYKcmyk(64%, 60%, 0%, 51%)
CIE-LABlab(24.70, 22.80, -43.36)
CIE-LCHlch(24.70, 48.99, 297.74°)
OKLaboklab(35.99% 0.0115 -0.1246)
OKLCHoklch(35.99% 0.125 275.3)
XYZxyz(5.9233, 4.3193, 19.9196)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D327D #7D782D
analogous
#2D5A7D #2D327D #502D7D
triadic
#2D327D #7D2D32 #327D2D
tetradic
#2D327D #7D2D5A #7D782D #2D7D50
square
#2D327D #7D2D5A #7D782D #2D7D50
split-complementary
#2D327D #7D502D #5A7D2D
monochromatic
#0D0E23 #1D2050 #2D327D #3D44AA #5F65C5

Accessibility & contrast

On white

11.27
#2D327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D327D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D327D#FFFFFF#000000##FFFFFF
##2D327D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d327d;
/* rgb */ color: rgb(45, 50, 125);
/* oklch */ color: oklch(36.0% 0.125 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f69a3',
    500: '#2d327d',
    950: '#000000',
  },
}
SCSS
$custom: #2d327d;
$custom-light: #6f69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d327d",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 236.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35993,
    "c": 0.12517,
    "h": 275.3
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#2D327D
secondary
#ACA75A
accent
#CE51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D327D

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

Preview Lab → · Contrast checker → · Palette generator →

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