#2C3886#2C3886

#2C3886 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.130 H 272.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2C3886
RGBrgb(44, 56, 134)
HSLhsl(232, 51%, 35%)
HSVhsv(232, 67%, 53%)
CMYKcmyk(67.2%, 58.2%, 0%, 47.5%)
CIE-LABlab(26.97, 21.87, -45.32)
CIE-LCHlch(26.97, 50.32, 295.76°)
OKLaboklab(37.89% 0.0046 -0.1303)
OKLCHoklch(37.89% 0.13 272)
XYZxyz(6.7545, 5.0844, 23.1751)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3886 #867A2C
analogous
#2C6586 #2C3886 #4D2C86
triadic
#2C3886 #862C38 #38862C
tetradic
#2C3886 #862C65 #867A2C #2C864D
square
#2C3886 #862C65 #867A2C #2C864D
split-complementary
#2C3886 #864D2C #65862C
monochromatic
#0E112A #1D2558 #2C3886 #3B4BB4 #616FCB

Accessibility & contrast

On white

10.41
#2C3886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C3886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3886
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3886#FFFFFF#000000##FFFFFF
##2C38861.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3886;
/* rgb */ color: rgb(44, 56, 134);
/* oklch */ color: oklch(37.9% 0.130 272.0);
Tailwind
colors: {
  custom: {
    50: '#706eaa',
    500: '#2c3886',
    950: '#000000',
  },
}
SCSS
$custom: #2c3886;
$custom-light: #706eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3886",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 232,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37894,
    "c": 0.13043,
    "h": 272
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#2C3886
secondary
#B1A65C
accent
#C74EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3886

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

Preview Lab → · Contrast checker → · Palette generator →

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