#2C3984#2C3984

#2C3984 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.126 H 271.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2C3984
RGBrgb(44, 57, 132)
HSLhsl(231, 50%, 35%)
HSVhsv(231, 67%, 52%)
CMYKcmyk(66.7%, 56.8%, 0%, 48.2%)
CIE-LABlab(27.09, 20.44, -43.88)
CIE-LCHlch(27.09, 48.41, 294.98°)
OKLaboklab(37.94% 0.0036 -0.1261)
OKLCHoklch(37.94% 0.126 271.6)
XYZxyz(6.6653, 5.1271, 22.4637)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3984 #84772C
analogous
#2C6584 #2C3984 #4B2C84
triadic
#2C3984 #842C39 #39842C
tetradic
#2C3984 #842C65 #84772C #2C844B
square
#2C3984 #842C65 #84772C #2C844B
split-complementary
#2C3984 #844B2C #65842C
monochromatic
#0D1128 #1D2556 #2C3984 #3B4DB2 #6070CA

Accessibility & contrast

On white

10.37
#2C3984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C3984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3984
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3984#FFFFFF#000000##FFFFFF
##2C39841.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3984;
/* rgb */ color: rgb(44, 57, 132);
/* oklch */ color: oklch(37.9% 0.126 271.6);
Tailwind
colors: {
  custom: {
    50: '#706fa8',
    500: '#2c3984',
    950: '#000000',
  },
}
SCSS
$custom: #2c3984;
$custom-light: #706fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3984",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 231.136,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37935,
    "c": 0.12615,
    "h": 271.6
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#2C3984
secondary
#B0A45C
accent
#C54EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3984

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

Preview Lab → · Contrast checker → · Palette generator →

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