#2C579B#2C579B

#2C579B is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.2% C 0.121 H 259.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2C579B
RGBrgb(44, 87, 155)
HSLhsl(217, 56%, 39%)
HSVhsv(217, 72%, 61%)
CMYKcmyk(71.6%, 43.9%, 0%, 39.2%)
CIE-LABlab(37.33, 8.98, -41.48)
CIE-LCHlch(37.33, 42.44, 282.21°)
OKLaboklab(46.24% -0.0225 -0.1186)
OKLCHoklch(46.24% 0.121 259.2)
XYZxyz(10.3612, 9.7173, 32.3336)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C579B #9B702C
analogous
#2C8F9B #2C579B #392C9B
triadic
#2C579B #9B2C57 #579B2C
tetradic
#2C579B #9B2C8F #9B702C #2C9B39
square
#2C579B #9B2C8F #9B702C #2C9B39
split-complementary
#2C579B #9B392C #8F9B2C
monochromatic
#11213C #1E3C6B #2C579B #3C72C8 #6C95D5

Accessibility & contrast

On white

7.13
#2C579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2C579B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C579B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C579B#FFFFFF#000000##FFFFFF
##2C579B1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#23539A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c579b;
/* rgb */ color: rgb(44, 87, 155);
/* oklch */ color: oklch(46.2% 0.121 259.2);
Tailwind
colors: {
  custom: {
    50: '#7385b9',
    500: '#2c579b',
    950: '#000000',
  },
}
SCSS
$custom: #2c579b;
$custom-light: #7385b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c579b",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 216.757,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.1207,
    "h": 259.2
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C579B

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

Preview Lab → · Contrast checker → · Palette generator →

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