#2C579F#2C579F

#2C579F is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.5% C 0.126 H 260.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2C579F
RGBrgb(44, 87, 159)
HSLhsl(218, 57%, 40%)
HSVhsv(218, 72%, 62%)
CMYKcmyk(72.3%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.58, 10.50, -43.48)
CIE-LCHlch(37.58, 44.73, 283.58°)
OKLaboklab(46.52% -0.0217 -0.1245)
OKLCHoklch(46.52% 0.126 260.1)
XYZxyz(10.7027, 9.8539, 34.1321)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C579F #9F742C
analogous
#2C919F #2C579F #3A2C9F
triadic
#2C579F #9F2C57 #579F2C
tetradic
#2C579F #9F2C91 #9F742C #2C9F3A
square
#2C579F #9F2C91 #9F742C #2C9F3A
split-complementary
#2C579F #9F3A2C #919F2C
monochromatic
#11233F #1F3D6F #2C579F #3E73CA #6E96D7

Accessibility & contrast

On white

7.07
#2C579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2C579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C579F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C579F#FFFFFF#000000##FFFFFF
##2C579F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#1D549E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c579f;
/* rgb */ color: rgb(44, 87, 159);
/* oklch */ color: oklch(46.5% 0.126 260.1);
Tailwind
colors: {
  custom: {
    50: '#7485bc',
    500: '#2c579f',
    950: '#000000',
  },
}
SCSS
$custom: #2c579f;
$custom-light: #7485bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c579f",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 217.565,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.12634,
    "h": 260.1
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#2C579F
secondary
#BE9E69
accent
#A748E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C579F

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

Preview Lab → · Contrast checker → · Palette generator →

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