#2C3D85#2C3D85

#2C3D85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.122 H 269.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2C3D85
RGBrgb(44, 61, 133)
HSLhsl(229, 50%, 35%)
HSVhsv(229, 67%, 52%)
CMYKcmyk(66.9%, 54.1%, 0%, 47.8%)
CIE-LABlab(28.29, 18.08, -42.57)
CIE-LCHlch(28.29, 46.25, 293.01°)
OKLaboklab(38.86% -0.0003 -0.1222)
OKLCHoklch(38.86% 0.122 269.9)
XYZxyz(6.9397, 5.5658, 22.8943)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D85 #85742C
analogous
#2C6A85 #2C3D85 #472C85
triadic
#2C3D85 #852C3D #3D852C
tetradic
#2C3D85 #852C6A #85742C #2C8547
square
#2C3D85 #852C6A #85742C #2C8547
split-complementary
#2C3D85 #85472C #6A852C
monochromatic
#0E1329 #1D2857 #2C3D85 #3B52B3 #6175CB

Accessibility & contrast

On white

9.94
#2C3D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C3D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D85
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D85#FFFFFF#000000##FFFFFF
##2C3D851.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4788
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3d85;
/* rgb */ color: rgb(44, 61, 133);
/* oklch */ color: oklch(38.9% 0.122 269.9);
Tailwind
colors: {
  custom: {
    50: '#7072a9',
    500: '#2c3d85',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d85;
$custom-light: #7072a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d85",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 228.539,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.12218,
    "h": 269.9
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#2C3D85
secondary
#B1A15C
accent
#BF4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3D85

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

Preview Lab → · Contrast checker → · Palette generator →

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