#2D326D#2D326D

#2D326D is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.101 H 276.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2D326D
RGBrgb(45, 50, 109)
HSLhsl(235, 42%, 30%)
HSVhsv(235, 59%, 43%)
CMYKcmyk(58.7%, 54.1%, 0%, 57.3%)
CIE-LABlab(23.48, 16.94, -35.14)
CIE-LCHlch(23.48, 39.01, 295.74°)
OKLaboklab(34.7% 0.0108 -0.1004)
OKLCHoklch(34.7% 0.101 276.1)
XYZxyz(4.9822, 3.9429, 14.9635)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D326D #6D682D
analogous
#2D526D #2D326D #482D6D
triadic
#2D326D #6D2D32 #326D2D
tetradic
#2D326D #6D2D52 #6D682D #2D6D48
square
#2D326D #6D2D52 #6D682D #2D6D48
split-complementary
#2D326D #6D482D #526D2D
monochromatic
#090A16 #1B1E42 #2D326D #3F4698 #5A61BB

Accessibility & contrast

On white

11.74
#2D326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D326D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D326D#FFFFFF#000000##FFFFFF
##2D326D1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B6F
Deuteranopia (green-blind)
#07356C
Tritanopia (blue-blind)
#0A3F4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d326d;
/* rgb */ color: rgb(45, 50, 109);
/* oklch */ color: oklch(34.7% 0.101 276.1);
Tailwind
colors: {
  custom: {
    50: '#6c6997',
    500: '#2d326d',
    950: '#000000',
  },
}
SCSS
$custom: #2d326d;
$custom-light: #6c6997;
$custom-dark: #000000;
JSON
{
  "hex": "#2d326d",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 235.313,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34695,
    "c": 0.10102,
    "h": 276.1
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#2D326D
secondary
#9F9957
accent
#C856D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2D326D

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

Preview Lab → · Contrast checker → · Palette generator →

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