#2C3682#2C3682

#2C3682 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.127 H 272.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2C3682
RGBrgb(44, 54, 130)
HSLhsl(233, 49%, 34%)
HSVhsv(233, 66%, 51%)
CMYKcmyk(66.2%, 58.5%, 0%, 49%)
CIE-LABlab(26.11, 21.74, -44.22)
CIE-LCHlch(26.11, 49.27, 296.18°)
OKLaboklab(37.15% 0.0065 -0.1271)
OKLCHoklch(37.15% 0.127 272.9)
XYZxyz(6.3858, 4.7850, 21.7018)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3682 #82782C
analogous
#2C6182 #2C3682 #4D2C82
triadic
#2C3682 #822C36 #36822C
tetradic
#2C3682 #822C61 #82782C #2C824D
square
#2C3682 #822C61 #82782C #2C824D
split-complementary
#2C3682 #824D2C #61822C
monochromatic
#0D1027 #1D2354 #2C3682 #3B49B0 #5F6CC9

Accessibility & contrast

On white

10.73
#2C3682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C3682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3682
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3682#FFFFFF#000000##FFFFFF
##2C36821.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3682;
/* rgb */ color: rgb(44, 54, 130);
/* oklch */ color: oklch(37.2% 0.127 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ca7',
    500: '#2c3682',
    950: '#000000',
  },
}
SCSS
$custom: #2c3682;
$custom-light: #6f6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3682",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 130
  },
  "hsl": {
    "h": 233.023,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37152,
    "c": 0.12729,
    "h": 272.9
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#2C3682
secondary
#AFA55B
accent
#C94FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C3682

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

Preview Lab → · Contrast checker → · Palette generator →

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