#2B579D#2B579D

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

Color values

HEX#2B579D
RGBrgb(43, 87, 157)
HSLhsl(217, 57%, 39%)
HSVhsv(217, 73%, 62%)
CMYKcmyk(72.6%, 44.6%, 0%, 38.4%)
CIE-LABlab(37.41, 9.59, -42.55)
CIE-LCHlch(37.41, 43.62, 282.70°)
OKLaboklab(46.34% -0.0229 -0.1217)
OKLCHoklch(46.34% 0.124 259.3)
XYZxyz(10.4881, 9.7632, 33.2235)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B579D #9D712B
analogous
#2B909D #2B579D #382B9D
triadic
#2B579D #9D2B57 #579D2B
tetradic
#2B579D #9D2B90 #9D712B #2B9D38
square
#2B579D #9D2B90 #9D712B #2B9D38
split-complementary
#2B579D #9D382B #909D2B
monochromatic
#11223D #1E3C6D #2B579D #3C72CA #6C95D7

Accessibility & contrast

On white

7.11
#2B579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B579D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B579D#FFFFFF#000000##FFFFFF
##2B579D1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA0
Deuteranopia (green-blind)
#1F539C
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b579d;
/* rgb */ color: rgb(43, 87, 157);
/* oklch */ color: oklch(46.3% 0.124 259.3);
Tailwind
colors: {
  custom: {
    50: '#7385ba',
    500: '#2b579d',
    950: '#000000',
  },
}
SCSS
$custom: #2b579d;
$custom-light: #7385ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b579d",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 216.842,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.12387,
    "h": 259.3
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#2B579D
secondary
#BD9C66
accent
#A548E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B579D

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

Preview Lab → · Contrast checker → · Palette generator →

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