#2C3D76#2C3D76

#2C3D76 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.099 H 268.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2C3D76
RGBrgb(44, 61, 118)
HSLhsl(226, 46%, 32%)
HSVhsv(226, 63%, 46%)
CMYKcmyk(62.7%, 48.3%, 0%, 53.7%)
CIE-LABlab(27.24, 12.43, -34.84)
CIE-LCHlch(27.24, 37.00, 289.64°)
OKLaboklab(37.73% -0.0021 -0.0995)
OKLCHoklch(37.73% 0.099 268.8)
XYZxyz(5.9764, 5.1805, 17.8210)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D76 #76652C
analogous
#2C6276 #2C3D76 #402C76
triadic
#2C3D76 #762C3D #3D762C
tetradic
#2C3D76 #762C62 #76652C #2C7640
square
#2C3D76 #762C62 #76652C #2C7640
split-complementary
#2C3D76 #76402C #62762C
monochromatic
#0B0F1D #1B2649 #2C3D76 #3D54A3 #5B72C2

Accessibility & contrast

On white

10.31
#2C3D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C3D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D76
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D76#FFFFFF#000000##FFFFFF
##2C3D761.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#163D75
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3d76;
/* rgb */ color: rgb(44, 61, 118);
/* oklch */ color: oklch(37.7% 0.099 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d729e',
    500: '#2c3d76',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d76;
$custom-light: #6d729e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d76",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 226.216,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37728,
    "c": 0.09949,
    "h": 268.8
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#2C3D76
secondary
#A79556
accent
#B752D5
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2C3D76

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

Preview Lab → · Contrast checker → · Palette generator →

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