#2C4985#2C4985

#2C4985 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.106 H 263.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2C4985
RGBrgb(44, 73, 133)
HSLhsl(220, 50%, 35%)
HSVhsv(220, 67%, 52%)
CMYKcmyk(66.9%, 45.1%, 0%, 47.8%)
CIE-LABlab(31.79, 9.91, -36.94)
CIE-LCHlch(31.79, 38.25, 285.02°)
OKLaboklab(41.53% -0.0127 -0.1054)
OKLCHoklch(41.53% 0.106 263.1)
XYZxyz(7.6534, 6.9933, 23.1323)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4985 #85682C
analogous
#2C7685 #2C4985 #3B2C85
triadic
#2C4985 #852C49 #49852C
tetradic
#2C4985 #852C76 #85682C #2C853B
square
#2C4985 #852C76 #85682C #2C853B
split-complementary
#2C4985 #853B2C #76852C
monochromatic
#0E1729 #1D3057 #2C4985 #3B62B3 #6183CB

Accessibility & contrast

On white

8.75
#2C4985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2C4985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4985
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4985#FFFFFF#000000##FFFFFF
##2C49851.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F87
Deuteranopia (green-blind)
#1E4784
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4985;
/* rgb */ color: rgb(44, 73, 133);
/* oklch */ color: oklch(41.5% 0.106 263.1);
Tailwind
colors: {
  custom: {
    50: '#6f7ba9',
    500: '#2c4985',
    950: '#000000',
  },
}
SCSS
$custom: #2c4985;
$custom-light: #6f7ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4985",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 220.449,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.10621,
    "h": 263.1
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#2C4985
secondary
#B1955C
accent
#AC4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4985

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

Preview Lab → · Contrast checker → · Palette generator →

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