#2D3785#2D3785

#2D3785 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.130 H 273.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2D3785
RGBrgb(45, 55, 133)
HSLhsl(233, 49%, 35%)
HSVhsv(233, 66%, 52%)
CMYKcmyk(66.2%, 58.6%, 0%, 47.8%)
CIE-LABlab(26.69, 22.35, -45.16)
CIE-LCHlch(26.69, 50.39, 296.33°)
OKLaboklab(37.67% 0.0067 -0.1299)
OKLCHoklch(37.67% 0.13 273)
XYZxyz(6.6806, 4.9831, 22.7955)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3785 #857B2D
analogous
#2D6385 #2D3785 #4F2D85
triadic
#2D3785 #852D37 #37852D
tetradic
#2D3785 #852D63 #857B2D #2D854F
square
#2D3785 #852D63 #857B2D #2D854F
split-complementary
#2D3785 #854F2D #63852D
monochromatic
#0E112A #1E2457 #2D3785 #3C4AB3 #626ECA

Accessibility & contrast

On white

10.52
#2D3785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D3785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3785
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3785#FFFFFF#000000##FFFFFF
##2D37851.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3785;
/* rgb */ color: rgb(45, 55, 133);
/* oklch */ color: oklch(37.7% 0.130 273.0);
Tailwind
colors: {
  custom: {
    50: '#706da9',
    500: '#2d3785',
    950: '#000000',
  },
}
SCSS
$custom: #2d3785;
$custom-light: #706da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3785",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 233.182,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37672,
    "c": 0.13003,
    "h": 273
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#2D3785
secondary
#B0A75D
accent
#C94FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3785

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

Preview Lab → · Contrast checker → · Palette generator →

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