#2D326B#2D326B

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

Color values

HEX#2D326B
RGBrgb(45, 50, 107)
HSLhsl(235, 41%, 30%)
HSVhsv(235, 58%, 42%)
CMYKcmyk(57.9%, 53.3%, 0%, 58%)
CIE-LABlab(23.34, 16.22, -34.08)
CIE-LCHlch(23.34, 37.74, 295.45°)
OKLaboklab(34.54% 0.0106 -0.0973)
OKLCHoklch(34.54% 0.098 276.2)
XYZxyz(4.8758, 3.9003, 14.4030)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D326B #6B662D
analogous
#2D516B #2D326B #472D6B
triadic
#2D326B #6B2D32 #326B2D
tetradic
#2D326B #6B2D51 #6B662D #2D6B47
square
#2D326B #6B2D51 #6B662D #2D6B47
split-complementary
#2D326B #6B472D #516B2D
monochromatic
#090A16 #1B1E40 #2D326B #3F4696 #5961B9

Accessibility & contrast

On white

11.80
#2D326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D326B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D326B#FFFFFF#000000##FFFFFF
##2D326B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6D
Deuteranopia (green-blind)
#0C356A
Tritanopia (blue-blind)
#0E3F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d326b;
/* rgb */ color: rgb(45, 50, 107);
/* oklch */ color: oklch(34.5% 0.098 276.2);
Tailwind
colors: {
  custom: {
    50: '#6c6996',
    500: '#2d326b',
    950: '#000000',
  },
}
SCSS
$custom: #2d326b;
$custom-light: #6c6996;
$custom-dark: #000000;
JSON
{
  "hex": "#2d326b",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 235.161,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34542,
    "c": 0.0979,
    "h": 276.2
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#2D326B
secondary
#9D9757
accent
#C757D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2D326B

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

Preview Lab → · Contrast checker → · Palette generator →

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