#2D326E#2D326E

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

Color values

HEX#2D326E
RGBrgb(45, 50, 110)
HSLhsl(235, 42%, 30%)
HSVhsv(235, 59%, 43%)
CMYKcmyk(59.1%, 54.5%, 0%, 56.9%)
CIE-LABlab(23.55, 17.31, -35.67)
CIE-LCHlch(23.55, 39.64, 295.89°)
OKLaboklab(34.77% 0.0109 -0.102)
OKLCHoklch(34.77% 0.103 276.1)
XYZxyz(5.0364, 3.9645, 15.2487)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D326E #6E692D
analogous
#2D526E #2D326E #492D6E
triadic
#2D326E #6E2D32 #326E2D
tetradic
#2D326E #6E2D52 #6E692D #2D6E49
square
#2D326E #6E2D52 #6E692D #2D6E49
split-complementary
#2D326E #6E492D #526E2D
monochromatic
#090B17 #1B1E43 #2D326E #3F4699 #5A61BB

Accessibility & contrast

On white

11.71
#2D326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D326E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D326E#FFFFFF#000000##FFFFFF
##2D326E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#05356D
Tritanopia (blue-blind)
#09404B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d326e;
/* rgb */ color: rgb(45, 50, 110);
/* oklch */ color: oklch(34.8% 0.103 276.1);
Tailwind
colors: {
  custom: {
    50: '#6c6998',
    500: '#2d326e',
    950: '#000000',
  },
}
SCSS
$custom: #2d326e;
$custom-light: #6c6998;
$custom-dark: #000000;
JSON
{
  "hex": "#2d326e",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 235.385,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34772,
    "c": 0.10257,
    "h": 276.1
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#2D326E
secondary
#A09A57
accent
#C856D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D326E

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

Preview Lab → · Contrast checker → · Palette generator →

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