#2C4E86#2C4E86

#2C4E86 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.101 H 259.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2C4E86
RGBrgb(44, 78, 134)
HSLhsl(217, 51%, 35%)
HSVhsv(217, 67%, 53%)
CMYKcmyk(67.2%, 41.8%, 0%, 47.5%)
CIE-LABlab(33.36, 6.95, -35.05)
CIE-LCHlch(33.36, 35.74, 281.22°)
OKLaboklab(42.76% -0.0179 -0.0998)
OKLCHoklch(42.76% 0.101 259.9)
XYZxyz(8.0646, 7.7047, 23.6118)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E86 #86642C
analogous
#2C7B86 #2C4E86 #372C86
triadic
#2C4E86 #862C4E #4E862C
tetradic
#2C4E86 #862C7B #86642C #2C8637
square
#2C4E86 #862C7B #86642C #2C8637
split-complementary
#2C4E86 #86372C #7B862C
monochromatic
#0E182A #1D3358 #2C4E86 #3B69B4 #6189CB

Accessibility & contrast

On white

8.26
#2C4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E86
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E86#FFFFFF#000000##FFFFFF
##2C4E861.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#274B85
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4e86;
/* rgb */ color: rgb(44, 78, 134);
/* oklch */ color: oklch(42.8% 0.101 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7fa9',
    500: '#2c4e86',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e86;
$custom-light: #6f7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e86",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 217.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.10142,
    "h": 259.9
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#2C4E86
secondary
#B1915C
accent
#A54EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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