#2C4486#2C4486

#2C4486 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.114 H 266.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2C4486
RGBrgb(44, 68, 134)
HSLhsl(224, 51%, 35%)
HSVhsv(224, 67%, 53%)
CMYKcmyk(67.2%, 49.3%, 0%, 47.5%)
CIE-LABlab(30.38, 13.67, -39.83)
CIE-LCHlch(30.38, 42.11, 288.95°)
OKLaboklab(40.47% -0.0073 -0.114)
OKLCHoklch(40.47% 0.114 266.4)
XYZxyz(7.4074, 6.3903, 23.3927)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4486 #866E2C
analogous
#2C7186 #2C4486 #412C86
triadic
#2C4486 #862C44 #44862C
tetradic
#2C4486 #862C71 #866E2C #2C8641
square
#2C4486 #862C71 #866E2C #2C8641
split-complementary
#2C4486 #86412C #71862C
monochromatic
#0E152A #1D2D58 #2C4486 #3B5BB4 #617DCB

Accessibility & contrast

On white

9.22
#2C4486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C4486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4486
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4486#FFFFFF#000000##FFFFFF
##2C44861.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#0F4485
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4486;
/* rgb */ color: rgb(44, 68, 134);
/* oklch */ color: oklch(40.5% 0.114 266.4);
Tailwind
colors: {
  custom: {
    50: '#6f77aa',
    500: '#2c4486',
    950: '#000000',
  },
}
SCSS
$custom: #2c4486;
$custom-light: #6f77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4486",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 224,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.11424,
    "h": 266.4
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#2C4486
secondary
#B19B5C
accent
#B54EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4486

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

Preview Lab → · Contrast checker → · Palette generator →

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