#2B579B#2B579B

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

Color values

HEX#2B579B
RGBrgb(43, 87, 155)
HSLhsl(216, 57%, 39%)
HSVhsv(216, 72%, 61%)
CMYKcmyk(72.3%, 43.9%, 0%, 39.2%)
CIE-LABlab(37.29, 8.83, -41.55)
CIE-LCHlch(37.29, 42.48, 281.99°)
OKLaboklab(46.2% -0.0233 -0.1188)
OKLCHoklch(46.2% 0.121 258.9)
XYZxyz(10.3187, 9.6954, 32.3316)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B579B #9B6F2B
analogous
#2B8F9B #2B579B #372B9B
triadic
#2B579B #9B2B57 #579B2B
tetradic
#2B579B #9B2B8F #9B6F2B #2B9B37
square
#2B579B #9B2B8F #9B6F2B #2B9B37
split-complementary
#2B579B #9B372B #8F9B2B
monochromatic
#10213B #1E3C6B #2B579B #3B72C9 #6B95D6

Accessibility & contrast

On white

7.14
#2B579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B579B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B579B#FFFFFF#000000##FFFFFF
##2B579B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b579b;
/* rgb */ color: rgb(43, 87, 155);
/* oklch */ color: oklch(46.2% 0.121 258.9);
Tailwind
colors: {
  custom: {
    50: '#7385b9',
    500: '#2b579b',
    950: '#000000',
  },
}
SCSS
$custom: #2b579b;
$custom-light: #7385b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b579b",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 216.429,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.12105,
    "h": 258.9
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B579B

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

Preview Lab → · Contrast checker → · Palette generator →

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