#2C3983#2C3983

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

Color values

HEX#2C3983
RGBrgb(44, 57, 131)
HSLhsl(231, 50%, 34%)
HSVhsv(231, 66%, 51%)
CMYKcmyk(66.4%, 56.5%, 0%, 48.6%)
CIE-LABlab(27.02, 20.06, -43.38)
CIE-LCHlch(27.02, 47.79, 294.82°)
OKLaboklab(37.85% 0.0036 -0.1246)
OKLCHoklch(37.85% 0.125 271.6)
XYZxyz(6.5972, 5.0998, 22.1050)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3983 #83762C
analogous
#2C6583 #2C3983 #4A2C83
triadic
#2C3983 #832C39 #39832C
tetradic
#2C3983 #832C65 #83762C #2C834A
square
#2C3983 #832C65 #83762C #2C834A
split-complementary
#2C3983 #834A2C #65832C
monochromatic
#0D1127 #1D2555 #2C3983 #3B4DB1 #6070CA

Accessibility & contrast

On white

10.40
#2C3983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3983
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3983#FFFFFF#000000##FFFFFF
##2C39831.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014486
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3983;
/* rgb */ color: rgb(44, 57, 131);
/* oklch */ color: oklch(37.9% 0.125 271.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fa8',
    500: '#2c3983',
    950: '#000000',
  },
}
SCSS
$custom: #2c3983;
$custom-light: #6f6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3983",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 231.034,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.12467,
    "h": 271.6
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#2C3983
secondary
#B0A35B
accent
#C54FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3983

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

Preview Lab → · Contrast checker → · Palette generator →

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