#2C579D#2C579D

#2C579D is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.124 H 259.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2C579D
RGBrgb(44, 87, 157)
HSLhsl(217, 56%, 39%)
HSVhsv(217, 72%, 62%)
CMYKcmyk(72%, 44.6%, 0%, 38.4%)
CIE-LABlab(37.45, 9.74, -42.49)
CIE-LCHlch(37.45, 43.59, 282.91°)
OKLaboklab(46.38% -0.0221 -0.1215)
OKLCHoklch(46.38% 0.124 259.7)
XYZxyz(10.5305, 9.7851, 33.2255)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C579D #9D722C
analogous
#2C909D #2C579D #3A2C9D
triadic
#2C579D #9D2C57 #579D2C
tetradic
#2C579D #9D2C90 #9D722C #2C9D3A
square
#2C579D #9D2C90 #9D722C #2C9D3A
split-complementary
#2C579D #9D3A2C #909D2C
monochromatic
#11223D #1F3D6D #2C579D #3D72C9 #6D95D6

Accessibility & contrast

On white

7.10
#2C579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2C579D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C579D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C579D#FFFFFF#000000##FFFFFF
##2C579D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#20539C
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c579d;
/* rgb */ color: rgb(44, 87, 157);
/* oklch */ color: oklch(46.4% 0.124 259.7);
Tailwind
colors: {
  custom: {
    50: '#7485ba',
    500: '#2c579d',
    950: '#000000',
  },
}
SCSS
$custom: #2c579d;
$custom-light: #7485ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c579d",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 217.168,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.12352,
    "h": 259.7
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#2C579D
secondary
#BD9D68
accent
#A648E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C579D

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

Preview Lab → · Contrast checker → · Palette generator →

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