#2C3876#2C3876

#2C3876 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.107 H 271.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2C3876
RGBrgb(44, 56, 118)
HSLhsl(230, 46%, 32%)
HSVhsv(230, 63%, 46%)
CMYKcmyk(62.7%, 52.5%, 0%, 53.7%)
CIE-LABlab(25.78, 15.89, -37.20)
CIE-LCHlch(25.78, 40.45, 293.13°)
OKLaboklab(36.61% 0.0036 -0.1064)
OKLCHoklch(36.61% 0.107 271.9)
XYZxyz(5.7218, 4.6714, 17.7362)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3876 #766A2C
analogous
#2C5D76 #2C3876 #452C76
triadic
#2C3876 #762C38 #38762C
tetradic
#2C3876 #762C5D #766A2C #2C7645
square
#2C3876 #762C5D #766A2C #2C7645
split-complementary
#2C3876 #76452C #5D762C
monochromatic
#0B0E1D #1B2349 #2C3876 #3D4DA3 #5B6BC2

Accessibility & contrast

On white

10.86
#2C3876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C3876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3876
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3876#FFFFFF#000000##FFFFFF
##2C38761.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174078
Deuteranopia (green-blind)
#073A75
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c3876;
/* rgb */ color: rgb(44, 56, 118);
/* oklch */ color: oklch(36.6% 0.107 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d6e9e',
    500: '#2c3876',
    950: '#000000',
  },
}
SCSS
$custom: #2c3876;
$custom-light: #6d6e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3876",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 230.27,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36614,
    "c": 0.10651,
    "h": 271.9
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#2C3876
secondary
#A79A56
accent
#C052D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2C3876

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

Preview Lab → · Contrast checker → · Palette generator →

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