#2C4084#2C4084

#2C4084 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.117 H 268.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2C4084
RGBrgb(44, 64, 132)
HSLhsl(226, 50%, 35%)
HSVhsv(226, 67%, 52%)
CMYKcmyk(66.7%, 51.5%, 0%, 48.2%)
CIE-LABlab(29.08, 15.64, -40.68)
CIE-LCHlch(29.08, 43.58, 291.04°)
OKLaboklab(39.43% -0.0034 -0.1166)
OKLCHoklch(39.43% 0.117 268.3)
XYZxyz(7.0355, 5.8676, 22.5871)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4084 #84702C
analogous
#2C6C84 #2C4084 #442C84
triadic
#2C4084 #842C40 #40842C
tetradic
#2C4084 #842C6C #84702C #2C8444
square
#2C4084 #842C6C #84702C #2C8444
split-complementary
#2C4084 #84442C #6C842C
monochromatic
#0D1328 #1D2A56 #2C4084 #3B56B2 #6078CA

Accessibility & contrast

On white

9.66
#2C4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4084
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4084#FFFFFF#000000##FFFFFF
##2C40841.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4986
Deuteranopia (green-blind)
#034183
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4084;
/* rgb */ color: rgb(44, 64, 132);
/* oklch */ color: oklch(39.4% 0.117 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f74a8',
    500: '#2c4084',
    950: '#000000',
  },
}
SCSS
$custom: #2c4084;
$custom-light: #6f74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4084",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 226.364,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3943,
    "c": 0.11663,
    "h": 268.3
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#2C4084
secondary
#B09D5C
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4084

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

Preview Lab → · Contrast checker → · Palette generator →

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