#2D3282#2D3282

#2D3282 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.132 H 275.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2D3282
RGBrgb(45, 50, 130)
HSLhsl(236, 49%, 34%)
HSVhsv(236, 65%, 51%)
CMYKcmyk(65.4%, 61.5%, 0%, 49%)
CIE-LABlab(25.11, 24.63, -45.85)
CIE-LCHlch(25.11, 52.05, 298.25°)
OKLaboklab(36.42% 0.0115 -0.1319)
OKLCHoklch(36.42% 0.132 275)
XYZxyz(6.2507, 4.4503, 21.6444)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3282 #827D2D
analogous
#2D5D82 #2D3282 #532D82
triadic
#2D3282 #822D32 #32822D
tetradic
#2D3282 #822D5D #827D2D #2D8253
square
#2D3282 #822D5D #827D2D #2D8253
split-complementary
#2D3282 #82532D #5D822D
monochromatic
#0E0F27 #1D2155 #2D3282 #3D43AF #6167C8

Accessibility & contrast

On white

11.11
#2D3282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D3282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3282
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3282#FFFFFF#000000##FFFFFF
##2D32821.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3282;
/* rgb */ color: rgb(45, 50, 130);
/* oklch */ color: oklch(36.4% 0.132 275.0);
Tailwind
colors: {
  custom: {
    50: '#706aa7',
    500: '#2d3282',
    950: '#000000',
  },
}
SCSS
$custom: #2d3282;
$custom-light: #706aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3282",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 236.471,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36423,
    "c": 0.13244,
    "h": 275
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#2D3282
secondary
#AFAA5C
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D3282

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

Preview Lab → · Contrast checker → · Palette generator →

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