#2D326F#2D326F

#2D326F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.104 H 276.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2D326F
RGBrgb(45, 50, 111)
HSLhsl(235, 42%, 31%)
HSVhsv(235, 59%, 44%)
CMYKcmyk(59.5%, 55%, 0%, 56.5%)
CIE-LABlab(23.63, 17.67, -36.19)
CIE-LCHlch(23.63, 40.28, 296.03°)
OKLaboklab(34.85% 0.011 -0.1035)
OKLCHoklch(34.85% 0.104 276)
XYZxyz(5.0911, 3.9864, 15.5370)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D326F #6F6A2D
analogous
#2D536F #2D326F #492D6F
triadic
#2D326F #6F2D32 #326F2D
tetradic
#2D326F #6F2D53 #6F6A2D #2D6F49
square
#2D326F #6F2D53 #6F6A2D #2D6F49
split-complementary
#2D326F #6F492D #536F2D
monochromatic
#0A0B18 #1B1E43 #2D326F #3F469B #5A62BC

Accessibility & contrast

On white

11.68
#2D326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D326F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D326F#FFFFFF#000000##FFFFFF
##2D326F1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#03366E
Tritanopia (blue-blind)
#07404B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d326f;
/* rgb */ color: rgb(45, 50, 111);
/* oklch */ color: oklch(34.8% 0.104 276.0);
Tailwind
colors: {
  custom: {
    50: '#6c6999',
    500: '#2d326f',
    950: '#000000',
  },
}
SCSS
$custom: #2d326f;
$custom-light: #6c6999;
$custom-dark: #000000;
JSON
{
  "hex": "#2d326f",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 235.455,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.10411,
    "h": 276
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#2D326F
secondary
#A19B57
accent
#C956D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D326F

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

Preview Lab → · Contrast checker → · Palette generator →

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