#2C3176#2C3176

#2C3176 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.1% C 0.116 H 275.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2C3176
RGBrgb(44, 49, 118)
HSLhsl(236, 46%, 32%)
HSVhsv(236, 63%, 46%)
CMYKcmyk(62.7%, 58.5%, 0%, 53.7%)
CIE-LABlab(23.80, 20.73, -40.39)
CIE-LCHlch(23.80, 45.39, 297.17°)
OKLaboklab(35.13% 0.0112 -0.1159)
OKLCHoklch(35.13% 0.116 275.5)
XYZxyz(5.4060, 4.0397, 17.6309)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3176 #76712C
analogous
#2C5676 #2C3176 #4C2C76
triadic
#2C3176 #762C31 #31762C
tetradic
#2C3176 #762C56 #76712C #2C764C
square
#2C3176 #762C56 #76712C #2C764C
split-complementary
#2C3176 #764C2C #56762C
monochromatic
#0B0C1D #1B1E49 #2C3176 #3D44A3 #5B62C2

Accessibility & contrast

On white

11.62
#2C3176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C3176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3176
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3176#FFFFFF#000000##FFFFFF
##2C31761.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3176;
/* rgb */ color: rgb(44, 49, 118);
/* oklch */ color: oklch(35.1% 0.116 275.5);
Tailwind
colors: {
  custom: {
    50: '#6d699e',
    500: '#2c3176',
    950: '#000000',
  },
}
SCSS
$custom: #2c3176;
$custom-light: #6d699e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3176",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 235.946,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35131,
    "c": 0.11646,
    "h": 275.5
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#2C3176
secondary
#A7A256
accent
#CD52D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2C3176

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

Preview Lab → · Contrast checker → · Palette generator →

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