#2D3385#2D3385

#2D3385 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.135 H 274.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2D3385
RGBrgb(45, 51, 133)
HSLhsl(236, 49%, 35%)
HSVhsv(236, 66%, 52%)
CMYKcmyk(66.2%, 61.7%, 0%, 47.8%)
CIE-LABlab(25.62, 25.06, -46.90)
CIE-LCHlch(25.62, 53.17, 298.12°)
OKLaboklab(36.88% 0.0105 -0.135)
OKLCHoklch(36.88% 0.135 274.4)
XYZxyz(6.4983, 4.6184, 22.7348)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3385 #857F2D
analogous
#2D5F85 #2D3385 #532D85
triadic
#2D3385 #852D33 #33852D
tetradic
#2D3385 #852D5F #857F2D #2D8553
square
#2D3385 #852D5F #857F2D #2D8553
split-complementary
#2D3385 #85532D #5F852D
monochromatic
#0E102A #1E2157 #2D3385 #3C45B3 #6269CA

Accessibility & contrast

On white

10.92
#2D3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3385
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3385#FFFFFF#000000##FFFFFF
##2D33851.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3385;
/* rgb */ color: rgb(45, 51, 133);
/* oklch */ color: oklch(36.9% 0.135 274.4);
Tailwind
colors: {
  custom: {
    50: '#716aa9',
    500: '#2d3385',
    950: '#000000',
  },
}
SCSS
$custom: #2d3385;
$custom-light: #716aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3385",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 235.909,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36879,
    "c": 0.13542,
    "h": 274.4
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#2D3385
secondary
#B0AB5D
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3385

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

Preview Lab → · Contrast checker → · Palette generator →

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