#2C3582#2C3582

#2C3582 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.129 H 273.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2C3582
RGBrgb(44, 53, 130)
HSLhsl(234, 49%, 34%)
HSVhsv(234, 66%, 51%)
CMYKcmyk(66.2%, 59.2%, 0%, 49%)
CIE-LABlab(25.84, 22.43, -44.66)
CIE-LCHlch(25.84, 49.97, 296.66°)
OKLaboklab(36.95% 0.0074 -0.1284)
OKLCHoklch(36.95% 0.129 273.3)
XYZxyz(6.3397, 4.6928, 21.6865)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3582 #82792C
analogous
#2C6082 #2C3582 #4E2C82
triadic
#2C3582 #822C35 #35822C
tetradic
#2C3582 #822C60 #82792C #2C824E
square
#2C3582 #822C60 #82792C #2C824E
split-complementary
#2C3582 #824E2C #60822C
monochromatic
#0D1027 #1D2254 #2C3582 #3B48B0 #5F6AC9

Accessibility & contrast

On white

10.83
#2C3582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C3582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3582
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3582#FFFFFF#000000##FFFFFF
##2C35821.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c3582;
/* rgb */ color: rgb(44, 53, 130);
/* oklch */ color: oklch(36.9% 0.129 273.3);
Tailwind
colors: {
  custom: {
    50: '#706ca7',
    500: '#2c3582',
    950: '#000000',
  },
}
SCSS
$custom: #2c3582;
$custom-light: #706ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3582",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 233.721,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36949,
    "c": 0.12865,
    "h": 273.3
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#2C3582
secondary
#AFA65B
accent
#CB4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C3582

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

Preview Lab → · Contrast checker → · Palette generator →

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