#2D3296#2D3296

#2D3296 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.160 H 273.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2D3296
RGBrgb(45, 50, 150)
HSLhsl(237, 54%, 38%)
HSVhsv(237, 70%, 59%)
CMYKcmyk(70%, 66.7%, 0%, 41.2%)
CIE-LABlab(26.85, 31.90, -55.41)
CIE-LCHlch(26.85, 63.93, 299.93°)
OKLaboklab(38.24% 0.0104 -0.16)
OKLCHoklch(38.24% 0.16 273.7)
XYZxyz(7.7260, 5.0404, 29.4140)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3296 #96912D
analogous
#2D6696 #2D3296 #5C2D96
triadic
#2D3296 #962D32 #32962D
tetradic
#2D3296 #962D66 #96912D #2D965C
square
#2D3296 #962D66 #96912D #2D965C
split-complementary
#2D3296 #965C2D #66962D
monochromatic
#111338 #1F2267 #2D3296 #3C42C4 #6B70D3

Accessibility & contrast

On white

10.46
#2D3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3296
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3296#FFFFFF#000000##FFFFFF
##2D32961.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3296;
/* rgb */ color: rgb(45, 50, 150);
/* oklch */ color: oklch(38.2% 0.160 273.7);
Tailwind
colors: {
  custom: {
    50: '#756ab6',
    500: '#2d3296',
    950: '#000000',
  },
}
SCSS
$custom: #2d3296;
$custom-light: #756ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3296",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 237.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.16034,
    "h": 273.7
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#2D3296
secondary
#B9B565
accent
#D64BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3296

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

Preview Lab → · Contrast checker → · Palette generator →

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