#2D3276#2D3276

#2D3276 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.4% C 0.115 H 275.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2D3276
RGBrgb(45, 50, 118)
HSLhsl(236, 45%, 32%)
HSVhsv(236, 62%, 46%)
CMYKcmyk(61.9%, 57.6%, 0%, 53.7%)
CIE-LABlab(24.15, 20.23, -39.82)
CIE-LCHlch(24.15, 44.66, 296.94°)
OKLaboklab(35.41% 0.0114 -0.1142)
OKLCHoklch(35.41% 0.115 275.7)
XYZxyz(5.4917, 4.1467, 17.6470)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3276 #76712D
analogous
#2D5776 #2D3276 #4D2D76
triadic
#2D3276 #762D32 #32762D
tetradic
#2D3276 #762D57 #76712D #2D764D
square
#2D3276 #762D57 #76712D #2D764D
split-complementary
#2D3276 #764D2D #57762D
monochromatic
#0B0C1D #1C1F4A #2D3276 #3E45A2 #5C63C1

Accessibility & contrast

On white

11.48
#2D3276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3276
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3276#FFFFFF#000000##FFFFFF
##2D32761.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D78
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3276;
/* rgb */ color: rgb(45, 50, 118);
/* oklch */ color: oklch(35.4% 0.115 275.7);
Tailwind
colors: {
  custom: {
    50: '#6e699e',
    500: '#2d3276',
    950: '#000000',
  },
}
SCSS
$custom: #2d3276;
$custom-light: #6e699e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3276",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 235.89,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35409,
    "c": 0.11477,
    "h": 275.7
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#2D3276
secondary
#A7A257
accent
#CC53D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2D3276

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

Preview Lab → · Contrast checker → · Palette generator →

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