#2C4884#2C4884

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

Color values

HEX#2C4884
RGBrgb(44, 72, 132)
HSLhsl(221, 50%, 35%)
HSVhsv(221, 67%, 52%)
CMYKcmyk(66.7%, 45.5%, 0%, 48.2%)
CIE-LABlab(31.43, 10.21, -36.90)
CIE-LCHlch(31.43, 38.29, 285.46°)
OKLaboklab(41.23% -0.0118 -0.1053)
OKLCHoklch(41.23% 0.106 263.6)
XYZxyz(7.5195, 6.8354, 22.7484)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4884 #84682C
analogous
#2C7484 #2C4884 #3C2C84
triadic
#2C4884 #842C48 #48842C
tetradic
#2C4884 #842C74 #84682C #2C843C
square
#2C4884 #842C74 #84682C #2C843C
split-complementary
#2C4884 #843C2C #74842C
monochromatic
#0D1628 #1D2F56 #2C4884 #3B61B2 #6082CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4884#FFFFFF#000000##FFFFFF
##2C48841.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)
#2C4E86
Deuteranopia (green-blind)
#1D4683
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4884;
/* rgb */ color: rgb(44, 72, 132);
/* oklch */ color: oklch(41.2% 0.106 263.6);
Tailwind
colors: {
  custom: {
    50: '#6f7aa8',
    500: '#2c4884',
    950: '#000000',
  },
}
SCSS
$custom: #2c4884;
$custom-light: #6f7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4884",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 220.909,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41229,
    "c": 0.10601,
    "h": 263.6
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4884

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

Preview Lab → · Contrast checker → · Palette generator →

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