#2B559B#2B559B

#2B559B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.7% C 0.123 H 260.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2B559B
RGBrgb(43, 85, 155)
HSLhsl(218, 57%, 39%)
HSVhsv(218, 72%, 61%)
CMYKcmyk(72.3%, 45.2%, 0%, 39.2%)
CIE-LABlab(36.70, 10.14, -42.50)
CIE-LCHlch(36.70, 43.69, 283.42°)
OKLaboklab(45.75% -0.0214 -0.1216)
OKLCHoklch(45.75% 0.123 260)
XYZxyz(10.1590, 9.3761, 32.2784)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B559B #9B712B
analogous
#2B8D9B #2B559B #392B9B
triadic
#2B559B #9B2B55 #559B2B
tetradic
#2B559B #9B2B8D #9B712B #2B9B39
square
#2B559B #9B2B8D #9B712B #2B9B39
split-complementary
#2B559B #9B392B #8D9B2B
monochromatic
#10203B #1E3B6B #2B559B #3B70C9 #6B93D6

Accessibility & contrast

On white

7.30
#2B559B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2B559B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B559B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B559B#FFFFFF#000000##FFFFFF
##2B559B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#1D529A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b559b;
/* rgb */ color: rgb(43, 85, 155);
/* oklch */ color: oklch(45.7% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#7384b9',
    500: '#2b559b',
    950: '#000000',
  },
}
SCSS
$custom: #2b559b;
$custom-light: #7384b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b559b",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 217.5,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.12348,
    "h": 260
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#2B559B
secondary
#BC9C65
accent
#A748E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B559B

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

Preview Lab → · Contrast checker → · Palette generator →

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