#2C4E83#2C4E83

#2C4E83 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.097 H 259.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2C4E83
RGBrgb(44, 78, 131)
HSLhsl(217, 50%, 34%)
HSVhsv(217, 66%, 51%)
CMYKcmyk(66.4%, 40.5%, 0%, 48.6%)
CIE-LABlab(33.18, 5.82, -33.49)
CIE-LCHlch(33.18, 33.99, 279.87°)
OKLaboklab(42.57% -0.0186 -0.0952)
OKLCHoklch(42.57% 0.097 259)
XYZxyz(7.8584, 7.6222, 22.5254)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E83 #83612C
analogous
#2C7A83 #2C4E83 #362C83
triadic
#2C4E83 #832C4E #4E832C
tetradic
#2C4E83 #832C7A #83612C #2C8336
square
#2C4E83 #832C7A #83612C #2C8336
split-complementary
#2C4E83 #83362C #7A832C
monochromatic
#0D1727 #1D3355 #2C4E83 #3B69B1 #6089CA

Accessibility & contrast

On white

8.32
#2C4E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2C4E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E83
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E83#FFFFFF#000000##FFFFFF
##2C4E831.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365285
Deuteranopia (green-blind)
#2A4A82
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4e83;
/* rgb */ color: rgb(44, 78, 131);
/* oklch */ color: oklch(42.6% 0.097 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f7fa7',
    500: '#2c4e83',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e83;
$custom-light: #6f7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e83",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 216.552,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42565,
    "c": 0.09704,
    "h": 259
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#2C4E83
secondary
#B08F5B
accent
#A34FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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