#2D328B#2D328B

#2D328B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.145 H 274.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2D328B
RGBrgb(45, 50, 139)
HSLhsl(237, 51%, 36%)
HSVhsv(237, 68%, 55%)
CMYKcmyk(67.6%, 64%, 0%, 45.5%)
CIE-LABlab(25.87, 27.92, -50.22)
CIE-LCHlch(25.87, 57.46, 299.07°)
OKLaboklab(37.22% 0.0112 -0.1448)
OKLCHoklch(37.22% 0.145 274.4)
XYZxyz(6.8814, 4.7026, 24.9661)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D328B #8B862D
analogous
#2D618B #2D328B #572D8B
triadic
#2D328B #8B2D32 #328B2D
tetradic
#2D328B #8B2D61 #8B862D #2D8B57
square
#2D328B #8B2D61 #8B862D #2D8B57
split-complementary
#2D328B #8B572D #618B2D
monochromatic
#0F112F #1E215D #2D328B #3C43B9 #656BCD

Accessibility & contrast

On white

10.82
#2D328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D328B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D328B#FFFFFF#000000##FFFFFF
##2D328B1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d328b;
/* rgb */ color: rgb(45, 50, 139);
/* oklch */ color: oklch(37.2% 0.145 274.4);
Tailwind
colors: {
  custom: {
    50: '#726aae',
    500: '#2d328b',
    950: '#000000',
  },
}
SCSS
$custom: #2d328b;
$custom-light: #726aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d328b",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 236.809,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37223,
    "c": 0.14522,
    "h": 274.4
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#2D328B
secondary
#B4AF60
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D328B

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

Preview Lab → · Contrast checker → · Palette generator →

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