#2C3882#2C3882

#2C3882 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.125 H 272.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2C3882
RGBrgb(44, 56, 130)
HSLhsl(232, 49%, 34%)
HSVhsv(232, 66%, 51%)
CMYKcmyk(66.2%, 56.9%, 0%, 49%)
CIE-LABlab(26.66, 20.37, -43.33)
CIE-LCHlch(26.66, 47.88, 295.19°)
OKLaboklab(37.56% 0.0045 -0.1245)
OKLCHoklch(37.56% 0.125 272.1)
XYZxyz(6.4808, 4.9750, 21.7335)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3882 #82762C
analogous
#2C6382 #2C3882 #4B2C82
triadic
#2C3882 #822C38 #38822C
tetradic
#2C3882 #822C63 #82762C #2C824B
square
#2C3882 #822C63 #82762C #2C824B
split-complementary
#2C3882 #824B2C #63822C
monochromatic
#0D1127 #1D2454 #2C3882 #3B4CB0 #5F6EC9

Accessibility & contrast

On white

10.53
#2C3882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C3882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3882
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3882#FFFFFF#000000##FFFFFF
##2C38821.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3882;
/* rgb */ color: rgb(44, 56, 130);
/* oklch */ color: oklch(37.6% 0.125 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f6ea7',
    500: '#2c3882',
    950: '#000000',
  },
}
SCSS
$custom: #2c3882;
$custom-light: #6f6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3882",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 231.628,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.12456,
    "h": 272.1
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#2C3882
secondary
#AFA35B
accent
#C64FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C3882

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

Preview Lab → · Contrast checker → · Palette generator →

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