#2C4986#2C4986

#2C4986 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.108 H 263.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2C4986
RGBrgb(44, 73, 134)
HSLhsl(221, 51%, 35%)
HSVhsv(221, 67%, 53%)
CMYKcmyk(67.2%, 45.5%, 0%, 47.5%)
CIE-LABlab(31.85, 10.29, -37.46)
CIE-LCHlch(31.85, 38.84, 285.36°)
OKLaboklab(41.6% -0.0125 -0.107)
OKLCHoklch(41.6% 0.108 263.3)
XYZxyz(7.7228, 7.0211, 23.4978)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4986 #86692C
analogous
#2C7686 #2C4986 #3C2C86
triadic
#2C4986 #862C49 #49862C
tetradic
#2C4986 #862C76 #86692C #2C863C
square
#2C4986 #862C76 #86692C #2C863C
split-complementary
#2C4986 #863C2C #76862C
monochromatic
#0E172A #1D3058 #2C4986 #3B62B4 #6183CB

Accessibility & contrast

On white

8.73
#2C4986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2C4986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4986
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4986#FFFFFF#000000##FFFFFF
##2C49861.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F88
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4986;
/* rgb */ color: rgb(44, 73, 134);
/* oklch */ color: oklch(41.6% 0.108 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f7baa',
    500: '#2c4986',
    950: '#000000',
  },
}
SCSS
$custom: #2c4986;
$custom-light: #6f7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4986",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 220.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.1077,
    "h": 263.3
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#2C4986
secondary
#B1965C
accent
#AD4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4986

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

Preview Lab → · Contrast checker → · Palette generator →

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