#2D3382#2D3382

#2D3382 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.131 H 274.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2D3382
RGBrgb(45, 51, 130)
HSLhsl(236, 49%, 34%)
HSVhsv(236, 65%, 51%)
CMYKcmyk(65.4%, 60.8%, 0%, 49%)
CIE-LABlab(25.37, 23.96, -45.42)
CIE-LCHlch(25.37, 51.35, 297.81°)
OKLaboklab(36.62% 0.0105 -0.1307)
OKLCHoklch(36.62% 0.131 274.6)
XYZxyz(6.2940, 4.5367, 21.6588)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3382 #827C2D
analogous
#2D5E82 #2D3382 #522D82
triadic
#2D3382 #822D33 #33822D
tetradic
#2D3382 #822D5E #827C2D #2D8252
square
#2D3382 #822D5E #827C2D #2D8252
split-complementary
#2D3382 #82522D #5E822D
monochromatic
#0E0F27 #1D2155 #2D3382 #3D45AF #6168C8

Accessibility & contrast

On white

11.01
#2D3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3382
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3382#FFFFFF#000000##FFFFFF
##2D33821.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3382;
/* rgb */ color: rgb(45, 51, 130);
/* oklch */ color: oklch(36.6% 0.131 274.6);
Tailwind
colors: {
  custom: {
    50: '#706aa7',
    500: '#2d3382',
    950: '#000000',
  },
}
SCSS
$custom: #2d3382;
$custom-light: #706aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3382",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 235.765,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36618,
    "c": 0.13109,
    "h": 274.6
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#2D3382
secondary
#AFA95C
accent
#CF50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D3382

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

Preview Lab → · Contrast checker → · Palette generator →

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