#2D4883#2D4883

#2D4883 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.104 H 263.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2D4883
RGBrgb(45, 72, 131)
HSLhsl(221, 49%, 35%)
HSVhsv(221, 66%, 51%)
CMYKcmyk(65.6%, 45%, 0%, 48.6%)
CIE-LABlab(31.42, 10.02, -36.30)
CIE-LCHlch(31.42, 37.65, 285.44°)
OKLaboklab(41.21% -0.0111 -0.1036)
OKLCHoklch(41.21% 0.104 263.9)
XYZxyz(7.4949, 6.8306, 22.3918)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4883 #83682D
analogous
#2D7383 #2D4883 #3D2D83
triadic
#2D4883 #832D48 #48832D
tetradic
#2D4883 #832D73 #83682D #2D833D
square
#2D4883 #832D73 #83682D #2D833D
split-complementary
#2D4883 #833D2D #73832D
monochromatic
#0E1628 #1D2F55 #2D4883 #3D61B1 #6282C9

Accessibility & contrast

On white

8.87
#2D4883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D4883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4883
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4883#FFFFFF#000000##FFFFFF
##2D48831.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E85
Deuteranopia (green-blind)
#1F4682
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4883;
/* rgb */ color: rgb(45, 72, 131);
/* oklch */ color: oklch(41.2% 0.104 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f7aa7',
    500: '#2d4883',
    950: '#000000',
  },
}
SCSS
$custom: #2d4883;
$custom-light: #6f7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4883",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 221.163,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.10415,
    "h": 263.9
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#2D4883
secondary
#AF955C
accent
#AD4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4883

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

Preview Lab → · Contrast checker → · Palette generator →

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