#2C3376#2C3376

#2C3376 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.114 H 274.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2C3376
RGBrgb(44, 51, 118)
HSLhsl(234, 46%, 32%)
HSVhsv(234, 63%, 46%)
CMYKcmyk(62.7%, 56.8%, 0%, 53.7%)
CIE-LABlab(24.36, 19.35, -39.49)
CIE-LCHlch(24.36, 43.97, 296.10°)
OKLaboklab(35.54% 0.0091 -0.1133)
OKLCHoklch(35.54% 0.114 274.6)
XYZxyz(5.4915, 4.2107, 17.6594)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3376 #766F2C
analogous
#2C5876 #2C3376 #4A2C76
triadic
#2C3376 #762C33 #33762C
tetradic
#2C3376 #762C58 #766F2C #2C764A
square
#2C3376 #762C58 #766F2C #2C764A
split-complementary
#2C3376 #764A2C #58762C
monochromatic
#0B0C1D #1B2049 #2C3376 #3D46A3 #5B64C2

Accessibility & contrast

On white

11.40
#2C3376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C3376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3376
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3376#FFFFFF#000000##FFFFFF
##2C33761.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c3376;
/* rgb */ color: rgb(44, 51, 118);
/* oklch */ color: oklch(35.5% 0.114 274.6);
Tailwind
colors: {
  custom: {
    50: '#6d6a9e',
    500: '#2c3376',
    950: '#000000',
  },
}
SCSS
$custom: #2c3376;
$custom-light: #6d6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3376",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 118
  },
  "hsl": {
    "h": 234.324,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35544,
    "c": 0.11362,
    "h": 274.6
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#2C3376
secondary
#A7A056
accent
#C952D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2C3376

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

Preview Lab → · Contrast checker → · Palette generator →

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