#2C4684#2C4684

#2C4684 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.109 H 264.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2C4684
RGBrgb(44, 70, 132)
HSLhsl(222, 50%, 35%)
HSVhsv(222, 67%, 52%)
CMYKcmyk(66.7%, 47%, 0%, 48.2%)
CIE-LABlab(30.83, 11.56, -37.85)
CIE-LCHlch(30.83, 39.58, 286.98°)
OKLaboklab(40.77% -0.0097 -0.1082)
OKLCHoklch(40.77% 0.109 264.9)
XYZxyz(7.3923, 6.5810, 22.7060)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4684 #846A2C
analogous
#2C7284 #2C4684 #3E2C84
triadic
#2C4684 #842C46 #46842C
tetradic
#2C4684 #842C72 #846A2C #2C843E
square
#2C4684 #842C72 #846A2C #2C843E
split-complementary
#2C4684 #843E2C #72842C
monochromatic
#0D1528 #1D2E56 #2C4684 #3B5EB2 #6080CA

Accessibility & contrast

On white

9.07
#2C4684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C4684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4684
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4684#FFFFFF#000000##FFFFFF
##2C46841.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4684;
/* rgb */ color: rgb(44, 70, 132);
/* oklch */ color: oklch(40.8% 0.109 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f79a8',
    500: '#2c4684',
    950: '#000000',
  },
}
SCSS
$custom: #2c4684;
$custom-light: #6f79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4684",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 222.273,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.10862,
    "h": 264.9
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#2C4684
secondary
#B0975C
accent
#B04EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4684

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

Preview Lab → · Contrast checker → · Palette generator →

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