#2D3E86#2D3E86

#2D3E86 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.122 H 269.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2D3E86
RGBrgb(45, 62, 134)
HSLhsl(229, 50%, 35%)
HSVhsv(229, 66%, 53%)
CMYKcmyk(66.4%, 53.7%, 0%, 47.5%)
CIE-LABlab(28.70, 17.95, -42.52)
CIE-LCHlch(28.70, 46.15, 292.89°)
OKLaboklab(39.21% -0.0001 -0.122)
OKLCHoklch(39.21% 0.122 269.9)
XYZxyz(7.1064, 5.7237, 23.2799)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E86 #86752D
analogous
#2D6B86 #2D3E86 #482D86
triadic
#2D3E86 #862D3E #3E862D
tetradic
#2D3E86 #862D6B #86752D #2D8648
square
#2D3E86 #862D6B #86752D #2D8648
split-complementary
#2D3E86 #86482D #6B862D
monochromatic
#0E142A #1E2958 #2D3E86 #3C53B4 #6377CB

Accessibility & contrast

On white

9.79
#2D3E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D3E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E86
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E86#FFFFFF#000000##FFFFFF
##2D3E861.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3e86;
/* rgb */ color: rgb(45, 62, 134);
/* oklch */ color: oklch(39.2% 0.122 269.9);
Tailwind
colors: {
  custom: {
    50: '#7072aa',
    500: '#2d3e86',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e86;
$custom-light: #7072aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e86",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 228.539,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3921,
    "c": 0.12199,
    "h": 269.9
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#2D3E86
secondary
#B1A15E
accent
#BF4FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D3E86

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

Preview Lab → · Contrast checker → · Palette generator →

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