#2D3D86#2D3D86

#2D3D86 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.123 H 270.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2D3D86
RGBrgb(45, 61, 134)
HSLhsl(229, 50%, 35%)
HSVhsv(229, 66%, 53%)
CMYKcmyk(66.4%, 54.5%, 0%, 47.5%)
CIE-LABlab(28.42, 18.63, -42.97)
CIE-LCHlch(28.42, 46.84, 293.44°)
OKLaboklab(39% 0.0009 -0.1233)
OKLCHoklch(39% 0.123 270.4)
XYZxyz(7.0526, 5.6160, 23.2620)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D86 #86762D
analogous
#2D6A86 #2D3D86 #492D86
triadic
#2D3D86 #862D3D #3D862D
tetradic
#2D3D86 #862D6A #86762D #2D8649
square
#2D3D86 #862D6A #86762D #2D8649
split-complementary
#2D3D86 #86492D #6A862D
monochromatic
#0E132A #1E2858 #2D3D86 #3C52B4 #6375CB

Accessibility & contrast

On white

9.89
#2D3D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D3D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D86
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D86#FFFFFF#000000##FFFFFF
##2D3D861.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4789
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3d86;
/* rgb */ color: rgb(45, 61, 134);
/* oklch */ color: oklch(39.0% 0.123 270.4);
Tailwind
colors: {
  custom: {
    50: '#7072aa',
    500: '#2d3d86',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d86;
$custom-light: #7072aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d86",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 229.213,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.12335,
    "h": 270.4
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#2D3D86
secondary
#B1A25E
accent
#C04FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3D86

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

Preview Lab → · Contrast checker → · Palette generator →

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