#2C4D83#2C4D83

#2C4D83 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.098 H 259.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2C4D83
RGBrgb(44, 77, 131)
HSLhsl(217, 50%, 34%)
HSVhsv(217, 66%, 51%)
CMYKcmyk(66.4%, 41.2%, 0%, 48.6%)
CIE-LABlab(32.88, 6.49, -33.97)
CIE-LCHlch(32.88, 34.59, 280.81°)
OKLaboklab(42.33% -0.0175 -0.0967)
OKLCHoklch(42.33% 0.098 259.8)
XYZxyz(7.7879, 7.4812, 22.5019)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D83 #83622C
analogous
#2C7983 #2C4D83 #372C83
triadic
#2C4D83 #832C4D #4D832C
tetradic
#2C4D83 #832C79 #83622C #2C8337
square
#2C4D83 #832C79 #83622C #2C8337
split-complementary
#2C4D83 #83372C #79832C
monochromatic
#0D1727 #1D3255 #2C4D83 #3B68B1 #6088CA

Accessibility & contrast

On white

8.41
#2C4D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2C4D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D83
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D83#FFFFFF#000000##FFFFFF
##2C4D831.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#284A82
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4d83;
/* rgb */ color: rgb(44, 77, 131);
/* oklch */ color: oklch(42.3% 0.098 259.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ea7',
    500: '#2c4d83',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d83;
$custom-light: #6f7ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d83",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 131
  },
  "hsl": {
    "h": 217.241,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.09825,
    "h": 259.8
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#2C4D83
secondary
#B0905B
accent
#A54FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C4D83

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

Preview Lab → · Contrast checker → · Palette generator →

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