#2C5088#2C5088

#2C5088 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.102 H 258.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2C5088
RGBrgb(44, 80, 136)
HSLhsl(217, 51%, 35%)
HSVhsv(217, 68%, 53%)
CMYKcmyk(67.6%, 41.2%, 0%, 46.7%)
CIE-LABlab(34.09, 6.38, -35.13)
CIE-LCHlch(34.09, 35.70, 280.30°)
OKLaboklab(43.36% -0.0195 -0.1)
OKLCHoklch(43.36% 0.102 258.9)
XYZxyz(8.3497, 8.0496, 24.4015)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5088 #88642C
analogous
#2C7E88 #2C5088 #362C88
triadic
#2C5088 #882C50 #50882C
tetradic
#2C5088 #882C7E #88642C #2C8836
square
#2C5088 #882C7E #88642C #2C8836
split-complementary
#2C5088 #88362C #7E882C
monochromatic
#0E1A2C #1D355A #2C5088 #3B6BB6 #628CCC

Accessibility & contrast

On white

8.05
#2C5088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C5088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5088
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5088#FFFFFF#000000##FFFFFF
##2C50881.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558A
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5088;
/* rgb */ color: rgb(44, 80, 136);
/* oklch */ color: oklch(43.4% 0.102 258.9);
Tailwind
colors: {
  custom: {
    50: '#6f80ab',
    500: '#2c5088',
    950: '#000000',
  },
}
SCSS
$custom: #2c5088;
$custom-light: #6f80ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5088",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 136
  },
  "hsl": {
    "h": 216.522,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43361,
    "c": 0.10192,
    "h": 258.9
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#2C5088
secondary
#B3915D
accent
#A34DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C5088

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

Preview Lab → · Contrast checker → · Palette generator →

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