#2C4580#2C4580

#2C4580 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.104 H 264.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2C4580
RGBrgb(44, 69, 128)
HSLhsl(222, 49%, 34%)
HSVhsv(222, 66%, 50%)
CMYKcmyk(65.6%, 46.1%, 0%, 49.8%)
CIE-LABlab(30.28, 10.72, -36.26)
CIE-LCHlch(30.28, 37.81, 286.48°)
OKLaboklab(40.26% -0.0093 -0.1035)
OKLCHoklch(40.26% 0.104 264.8)
XYZxyz(7.0618, 6.3496, 21.2713)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4580 #80672C
analogous
#2C6F80 #2C4580 #3D2C80
triadic
#2C4580 #802C45 #45802C
tetradic
#2C4580 #802C6F #80672C #2C803D
square
#2C4580 #802C6F #80672C #2C803D
split-complementary
#2C4580 #803D2C #6F802C
monochromatic
#0D1425 #1C2C52 #2C4580 #3C5EAE #5F7EC8

Accessibility & contrast

On white

9.25
#2C4580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C4580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4580
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4580#FFFFFF#000000##FFFFFF
##2C45801.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B82
Deuteranopia (green-blind)
#1B447F
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4580;
/* rgb */ color: rgb(44, 69, 128);
/* oklch */ color: oklch(40.3% 0.104 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e78a5',
    500: '#2c4580',
    950: '#000000',
  },
}
SCSS
$custom: #2c4580;
$custom-light: #6e78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4580",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 222.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.10393,
    "h": 264.8
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#2C4580
secondary
#AE955A
accent
#B04FD8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C4580

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

Preview Lab → · Contrast checker → · Palette generator →

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