#2C579E#2C579E

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

Color values

HEX#2C579E
RGBrgb(44, 87, 158)
HSLhsl(217, 56%, 40%)
HSVhsv(217, 72%, 62%)
CMYKcmyk(72.2%, 44.9%, 0%, 38%)
CIE-LABlab(37.52, 10.12, -42.99)
CIE-LCHlch(37.52, 44.16, 283.25°)
OKLaboklab(46.45% -0.0219 -0.123)
OKLCHoklch(46.45% 0.125 259.9)
XYZxyz(10.6162, 9.8194, 33.6770)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C579E #9E732C
analogous
#2C909E #2C579E #3A2C9E
triadic
#2C579E #9E2C57 #579E2C
tetradic
#2C579E #9E2C90 #9E732C #2C9E3A
square
#2C579E #9E2C90 #9E732C #2C9E3A
split-complementary
#2C579E #9E3A2C #909E2C
monochromatic
#11223E #1F3D6E #2C579E #3E72C9 #6E95D7

Accessibility & contrast

On white

7.09
#2C579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C579E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C579E#FFFFFF#000000##FFFFFF
##2C579E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#1E539D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c579e;
/* rgb */ color: rgb(44, 87, 158);
/* oklch */ color: oklch(46.4% 0.125 259.9);
Tailwind
colors: {
  custom: {
    50: '#7485bb',
    500: '#2c579e',
    950: '#000000',
  },
}
SCSS
$custom: #2c579e;
$custom-light: #7485bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c579e",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 217.368,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.12493,
    "h": 259.9
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C579E

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

Preview Lab → · Contrast checker → · Palette generator →

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