#2D326A#2D326A

#2D326A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.096 H 276.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2D326A
RGBrgb(45, 50, 106)
HSLhsl(235, 40%, 30%)
HSVhsv(235, 58%, 42%)
CMYKcmyk(57.5%, 52.8%, 0%, 58.4%)
CIE-LABlab(23.27, 15.85, -33.55)
CIE-LCHlch(23.27, 37.10, 295.30°)
OKLaboklab(34.47% 0.0105 -0.0958)
OKLCHoklch(34.47% 0.096 276.3)
XYZxyz(4.8235, 3.8794, 14.1275)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D326A #6A652D
analogous
#2D516A #2D326A #472D6A
triadic
#2D326A #6A2D32 #326A2D
tetradic
#2D326A #6A2D51 #6A652D #2D6A47
square
#2D326A #6A2D51 #6A652D #2D6A47
split-complementary
#2D326A #6A472D #516A2D
monochromatic
#090A15 #1B1E3F #2D326A #3F4695 #5961B8

Accessibility & contrast

On white

11.82
#2D326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D326A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D326A#FFFFFF#000000##FFFFFF
##2D326A1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6C
Deuteranopia (green-blind)
#0E3569
Tritanopia (blue-blind)
#0F3E49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d326a;
/* rgb */ color: rgb(45, 50, 106);
/* oklch */ color: oklch(34.5% 0.096 276.3);
Tailwind
colors: {
  custom: {
    50: '#6b6995',
    500: '#2d326a',
    950: '#000000',
  },
}
SCSS
$custom: #2d326a;
$custom-light: #6b6995;
$custom-dark: #000000;
JSON
{
  "hex": "#2d326a",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 235.082,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34466,
    "c": 0.09634,
    "h": 276.3
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#2D326A
secondary
#9C9657
accent
#C658D0
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2D326A

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

Preview Lab → · Contrast checker → · Palette generator →

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