#2D3281#2D3281

#2D3281 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.131 H 275.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2D3281
RGBrgb(45, 50, 129)
HSLhsl(236, 48%, 34%)
HSVhsv(236, 65%, 51%)
CMYKcmyk(65.1%, 61.2%, 0%, 49.4%)
CIE-LABlab(25.03, 24.27, -45.35)
CIE-LCHlch(25.03, 51.44, 298.15°)
OKLaboklab(36.34% 0.0115 -0.1305)
OKLCHoklch(36.34% 0.131 275)
XYZxyz(6.1839, 4.4236, 21.2926)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3281 #817C2D
analogous
#2D5C81 #2D3281 #522D81
triadic
#2D3281 #812D32 #32812D
tetradic
#2D3281 #812D5C #817C2D #2D8152
square
#2D3281 #812D5C #817C2D #2D8152
split-complementary
#2D3281 #81522D #5C812D
monochromatic
#0D0F26 #1D2054 #2D3281 #3D44AE #6167C8

Accessibility & contrast

On white

11.14
#2D3281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D3281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3281
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3281#FFFFFF#000000##FFFFFF
##2D32811.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3281;
/* rgb */ color: rgb(45, 50, 129);
/* oklch */ color: oklch(36.3% 0.131 275.0);
Tailwind
colors: {
  custom: {
    50: '#706aa6',
    500: '#2d3281',
    950: '#000000',
  },
}
SCSS
$custom: #2d3281;
$custom-light: #706aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3281",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 236.429,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36336,
    "c": 0.13099,
    "h": 275
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3281

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

Preview Lab → · Contrast checker → · Palette generator →

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