#2D3D83#2D3D83

#2D3D83 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.8% C 0.119 H 270.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2D3D83
RGBrgb(45, 61, 131)
HSLhsl(229, 49%, 35%)
HSVhsv(229, 66%, 51%)
CMYKcmyk(65.6%, 53.4%, 0%, 48.6%)
CIE-LABlab(28.20, 17.50, -41.46)
CIE-LCHlch(28.20, 45.00, 292.89°)
OKLaboklab(38.76% 0.0006 -0.1189)
OKLCHoklch(38.76% 0.119 270.3)
XYZxyz(6.8463, 5.5335, 22.1756)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D83 #83732D
analogous
#2D6883 #2D3D83 #482D83
triadic
#2D3D83 #832D3D #3D832D
tetradic
#2D3D83 #832D68 #83732D #2D8348
square
#2D3D83 #832D68 #83732D #2D8348
split-complementary
#2D3D83 #83482D #68832D
monochromatic
#0E1328 #1D2855 #2D3D83 #3D52B1 #6275C9

Accessibility & contrast

On white

9.97
#2D3D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D3D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D83
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D83#FFFFFF#000000##FFFFFF
##2D3D831.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134785
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3d83;
/* rgb */ color: rgb(45, 61, 131);
/* oklch */ color: oklch(38.8% 0.119 270.3);
Tailwind
colors: {
  custom: {
    50: '#7072a8',
    500: '#2d3d83',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d83;
$custom-light: #7072a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d83",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 228.837,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38763,
    "c": 0.1189,
    "h": 270.3
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#2D3D83
secondary
#AFA05C
accent
#BF4FD8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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