#2C3384#2C3384

#2C3384 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.134 H 274.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2C3384
RGBrgb(44, 51, 132)
HSLhsl(235, 50%, 35%)
HSVhsv(235, 67%, 52%)
CMYKcmyk(66.7%, 61.4%, 0%, 48.2%)
CIE-LABlab(25.47, 24.52, -46.52)
CIE-LCHlch(25.47, 52.59, 297.80°)
OKLaboklab(36.72% 0.0093 -0.1339)
OKLCHoklch(36.72% 0.134 274)
XYZxyz(6.3860, 4.5685, 22.3706)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3384 #847D2C
analogous
#2C5F84 #2C3384 #512C84
triadic
#2C3384 #842C33 #33842C
tetradic
#2C3384 #842C5F #847D2C #2C8451
square
#2C3384 #842C5F #847D2C #2C8451
split-complementary
#2C3384 #84512C #5F842C
monochromatic
#0D1028 #1D2156 #2C3384 #3B45B2 #6069CA

Accessibility & contrast

On white

10.97
#2C3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3384
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3384#FFFFFF#000000##FFFFFF
##2C33841.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c3384;
/* rgb */ color: rgb(44, 51, 132);
/* oklch */ color: oklch(36.7% 0.134 274.0);
Tailwind
colors: {
  custom: {
    50: '#706aa8',
    500: '#2c3384',
    950: '#000000',
  },
}
SCSS
$custom: #2c3384;
$custom-light: #706aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3384",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 235.227,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36724,
    "c": 0.13425,
    "h": 274
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#2C3384
secondary
#B0AA5C
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3384

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

Preview Lab → · Contrast checker → · Palette generator →

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