#2C579C#2C579C

#2C579C is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.3% C 0.122 H 259.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2C579C
RGBrgb(44, 87, 156)
HSLhsl(217, 56%, 39%)
HSVhsv(217, 72%, 61%)
CMYKcmyk(71.8%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.39, 9.36, -41.99)
CIE-LCHlch(37.39, 43.02, 282.57°)
OKLaboklab(46.31% -0.0223 -0.12)
OKLCHoklch(46.31% 0.122 259.5)
XYZxyz(10.4455, 9.7511, 32.7777)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C579C #9C712C
analogous
#2C8F9C #2C579C #392C9C
triadic
#2C579C #9C2C57 #579C2C
tetradic
#2C579C #9C2C8F #9C712C #2C9C39
square
#2C579C #9C2C8F #9C712C #2C9C39
split-complementary
#2C579C #9C392C #8F9C2C
monochromatic
#11223D #1F3C6C #2C579C #3D72C8 #6D95D6

Accessibility & contrast

On white

7.12
#2C579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2C579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C579C
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C579C#FFFFFF#000000##FFFFFF
##2C579C1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355E9F
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c579c;
/* rgb */ color: rgb(44, 87, 156);
/* oklch */ color: oklch(46.3% 0.122 259.5);
Tailwind
colors: {
  custom: {
    50: '#7385ba',
    500: '#2c579c',
    950: '#000000',
  },
}
SCSS
$custom: #2c579c;
$custom-light: #7385ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c579c",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 216.964,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.12211,
    "h": 259.5
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#2C579C
secondary
#BD9C67
accent
#A549DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C579C

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

Preview Lab → · Contrast checker → · Palette generator →

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