#2C3985#2C3985

#2C3985 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.128 H 271.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2C3985
RGBrgb(44, 57, 133)
HSLhsl(231, 50%, 35%)
HSVhsv(231, 67%, 52%)
CMYKcmyk(66.9%, 57.1%, 0%, 47.8%)
CIE-LABlab(27.17, 20.81, -44.38)
CIE-LCHlch(27.17, 49.02, 295.13°)
OKLaboklab(38.02% 0.0037 -0.1276)
OKLCHoklch(38.02% 0.128 271.6)
XYZxyz(6.7340, 5.1546, 22.8258)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3985 #85782C
analogous
#2C6685 #2C3985 #4C2C85
triadic
#2C3985 #852C39 #39852C
tetradic
#2C3985 #852C66 #85782C #2C854C
square
#2C3985 #852C66 #85782C #2C854C
split-complementary
#2C3985 #854C2C #66852C
monochromatic
#0E1229 #1D2557 #2C3985 #3B4DB3 #6170CB

Accessibility & contrast

On white

10.34
#2C3985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C3985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3985
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3985#FFFFFF#000000##FFFFFF
##2C39851.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3985;
/* rgb */ color: rgb(44, 57, 133);
/* oklch */ color: oklch(38.0% 0.128 271.6);
Tailwind
colors: {
  custom: {
    50: '#706fa9',
    500: '#2c3985',
    950: '#000000',
  },
}
SCSS
$custom: #2c3985;
$custom-light: #706fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3985",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 231.236,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38017,
    "c": 0.12762,
    "h": 271.6
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#2C3985
secondary
#B1A45C
accent
#C54EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3985

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

Preview Lab → · Contrast checker → · Palette generator →

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