#2B579F#2B579F

#2B579F is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.127 H 259.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2B579F
RGBrgb(43, 87, 159)
HSLhsl(217, 57%, 40%)
HSVhsv(217, 73%, 62%)
CMYKcmyk(73%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.54, 10.35, -43.55)
CIE-LCHlch(37.54, 44.76, 283.37°)
OKLaboklab(46.48% -0.0225 -0.1247)
OKLCHoklch(46.48% 0.127 259.8)
XYZxyz(10.6602, 9.8320, 34.1301)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B579F #9F732B
analogous
#2B919F #2B579F #392B9F
triadic
#2B579F #9F2B57 #579F2B
tetradic
#2B579F #9F2B91 #9F732B #2B9F39
square
#2B579F #9F2B91 #9F732B #2B9F39
split-complementary
#2B579F #9F392B #919F2B
monochromatic
#11223F #1E3D6F #2B579F #3D72CA #6D95D7

Accessibility & contrast

On white

7.08
#2B579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B579F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B579F#FFFFFF#000000##FFFFFF
##2B579F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#1C539E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b579f;
/* rgb */ color: rgb(43, 87, 159);
/* oklch */ color: oklch(46.5% 0.127 259.8);
Tailwind
colors: {
  custom: {
    50: '#7485bc',
    500: '#2b579f',
    950: '#000000',
  },
}
SCSS
$custom: #2b579f;
$custom-light: #7485bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b579f",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 217.241,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46475,
    "c": 0.12669,
    "h": 259.8
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#2B579F
secondary
#BE9D67
accent
#A647E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B579F

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

Preview Lab → · Contrast checker → · Palette generator →

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