#2C5083#2C5083

#2C5083 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.0% C 0.095 H 257.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2C5083
RGBrgb(44, 80, 131)
HSLhsl(215, 50%, 34%)
HSVhsv(215, 66%, 51%)
CMYKcmyk(66.4%, 38.9%, 0%, 48.6%)
CIE-LABlab(33.80, 4.51, -32.51)
CIE-LCHlch(33.80, 32.83, 277.89°)
OKLaboklab(43.04% -0.0208 -0.0924)
OKLCHoklch(43.04% 0.095 257.3)
XYZxyz(8.0026, 7.9107, 22.5735)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5083 #835F2C
analogous
#2C7C83 #2C5083 #342C83
triadic
#2C5083 #832C50 #50832C
tetradic
#2C5083 #832C7C #835F2C #2C8334
square
#2C5083 #832C7C #835F2C #2C8334
split-complementary
#2C5083 #83342C #7C832C
monochromatic
#0D1827 #1D3455 #2C5083 #3B6CB1 #608CCA

Accessibility & contrast

On white

8.13
#2C5083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C5083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5083
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5083#FFFFFF#000000##FFFFFF
##2C50831.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#2D4C82
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5083;
/* rgb */ color: rgb(44, 80, 131);
/* oklch */ color: oklch(43.0% 0.095 257.3);
Tailwind
colors: {
  custom: {
    50: '#6f80a7',
    500: '#2c5083',
    950: '#000000',
  },
}
SCSS
$custom: #2c5083;
$custom-light: #6f80a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5083",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 215.172,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43041,
    "c": 0.09469,
    "h": 257.3
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#2C5083
secondary
#B08D5B
accent
#A04FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5083

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

Preview Lab → · Contrast checker → · Palette generator →

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