#2D3685#2D3685

#2D3685 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.131 H 273.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2D3685
RGBrgb(45, 54, 133)
HSLhsl(234, 49%, 35%)
HSVhsv(234, 66%, 52%)
CMYKcmyk(66.2%, 59.4%, 0%, 47.8%)
CIE-LABlab(26.42, 23.03, -45.60)
CIE-LCHlch(26.42, 51.08, 296.80°)
OKLaboklab(37.47% 0.0077 -0.1312)
OKLCHoklch(37.47% 0.131 273.3)
XYZxyz(6.6336, 4.8891, 22.7799)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3685 #857C2D
analogous
#2D6285 #2D3685 #502D85
triadic
#2D3685 #852D36 #36852D
tetradic
#2D3685 #852D62 #857C2D #2D8550
square
#2D3685 #852D62 #857C2D #2D8550
split-complementary
#2D3685 #85502D #62852D
monochromatic
#0E112A #1E2357 #2D3685 #3C49B3 #626DCA

Accessibility & contrast

On white

10.62
#2D3685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D3685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3685
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3685#FFFFFF#000000##FFFFFF
##2D36851.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3685;
/* rgb */ color: rgb(45, 54, 133);
/* oklch */ color: oklch(37.5% 0.131 273.3);
Tailwind
colors: {
  custom: {
    50: '#716da9',
    500: '#2d3685',
    950: '#000000',
  },
}
SCSS
$custom: #2d3685;
$custom-light: #716da9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3685",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 233.864,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3747,
    "c": 0.13139,
    "h": 273.3
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#2D3685
secondary
#B0A85D
accent
#CB4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3685

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

Preview Lab → · Contrast checker → · Palette generator →

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