#2D3D82#2D3D82

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

Color values

HEX#2D3D82
RGBrgb(45, 61, 130)
HSLhsl(229, 49%, 34%)
HSVhsv(229, 65%, 51%)
CMYKcmyk(65.4%, 53.1%, 0%, 49%)
CIE-LABlab(28.13, 17.13, -40.95)
CIE-LCHlch(28.13, 44.39, 292.70°)
OKLaboklab(38.69% 0.0005 -0.1174)
OKLCHoklch(38.69% 0.117 270.3)
XYZxyz(6.7788, 5.5065, 21.8204)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D82 #82722D
analogous
#2D6882 #2D3D82 #482D82
triadic
#2D3D82 #822D3D #3D822D
tetradic
#2D3D82 #822D68 #82722D #2D8248
square
#2D3D82 #822D68 #82722D #2D8248
split-complementary
#2D3D82 #82482D #68822D
monochromatic
#0E1227 #1D2855 #2D3D82 #3D52AF #6175C8

Accessibility & contrast

On white

9.99
#2D3D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D3D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D82
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D82#FFFFFF#000000##FFFFFF
##2D3D821.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154684
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3d82;
/* rgb */ color: rgb(45, 61, 130);
/* oklch */ color: oklch(38.7% 0.117 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f72a7',
    500: '#2d3d82',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d82;
$custom-light: #6f72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d82",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 228.706,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38685,
    "c": 0.1174,
    "h": 270.3
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#2D3D82
secondary
#AF9F5C
accent
#BE50D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D3D82

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

Preview Lab → · Contrast checker → · Palette generator →

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