#2B579A#2B579A

#2B579A is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.120 H 258.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2B579A
RGBrgb(43, 87, 154)
HSLhsl(216, 56%, 39%)
HSVhsv(216, 72%, 60%)
CMYKcmyk(72.1%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.23, 8.44, -41.05)
CIE-LCHlch(37.23, 41.91, 281.62°)
OKLaboklab(46.14% -0.0235 -0.1173)
OKLCHoklch(46.14% 0.12 258.7)
XYZxyz(10.2351, 9.6620, 31.8911)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B579A #9A6E2B
analogous
#2B8E9A #2B579A #362B9A
triadic
#2B579A #9A2B57 #579A2B
tetradic
#2B579A #9A2B8E #9A6E2B #2B9A36
square
#2B579A #9A2B8E #9A6E2B #2B9A36
split-complementary
#2B579A #9A362B #8E9A2B
monochromatic
#10213A #1E3C6A #2B579A #3A72C8 #6A95D5

Accessibility & contrast

On white

7.16
#2B579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B579A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B579A#FFFFFF#000000##FFFFFF
##2B579A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9D
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b579a;
/* rgb */ color: rgb(43, 87, 154);
/* oklch */ color: oklch(46.1% 0.120 258.7);
Tailwind
colors: {
  custom: {
    50: '#7385b8',
    500: '#2b579a',
    950: '#000000',
  },
}
SCSS
$custom: #2b579a;
$custom-light: #7385b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b579a",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 216.216,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.11964,
    "h": 258.7
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#2B579A
secondary
#BC9965
accent
#A448E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B579A

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

Preview Lab → · Contrast checker → · Palette generator →

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