#2B579C#2B579C

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

Color values

HEX#2B579C
RGBrgb(43, 87, 156)
HSLhsl(217, 57%, 39%)
HSVhsv(217, 72%, 61%)
CMYKcmyk(72.4%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.35, 9.21, -42.05)
CIE-LCHlch(37.35, 43.05, 282.35°)
OKLaboklab(46.27% -0.0231 -0.1203)
OKLCHoklch(46.27% 0.122 259.1)
XYZxyz(10.4030, 9.7292, 32.7757)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B579C #9C702B
analogous
#2B909C #2B579C #382B9C
triadic
#2B579C #9C2B57 #579C2B
tetradic
#2B579C #9C2B90 #9C702B #2B9C38
square
#2B579C #9C2B90 #9C702B #2B9C38
split-complementary
#2B579C #9C382B #909C2B
monochromatic
#11213C #1E3C6C #2B579C #3B72C9 #6B95D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B579C#FFFFFF#000000##FFFFFF
##2B579C1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9F
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b579c;
/* rgb */ color: rgb(43, 87, 156);
/* oklch */ color: oklch(46.3% 0.122 259.1);
Tailwind
colors: {
  custom: {
    50: '#7385ba',
    500: '#2b579c',
    950: '#000000',
  },
}
SCSS
$custom: #2b579c;
$custom-light: #7385ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b579c",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 216.637,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4627,
    "c": 0.12246,
    "h": 259.1
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#2B579C
secondary
#BD9B66
accent
#A548E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B579C

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

Preview Lab → · Contrast checker → · Palette generator →

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