#2B559C#2B559C

#2B559C is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.125 H 260.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2B559C
RGBrgb(43, 85, 156)
HSLhsl(218, 57%, 39%)
HSVhsv(218, 72%, 61%)
CMYKcmyk(72.4%, 45.5%, 0%, 38.8%)
CIE-LABlab(36.76, 10.52, -43.00)
CIE-LCHlch(36.76, 44.27, 283.75°)
OKLaboklab(45.81% -0.0212 -0.1231)
OKLCHoklch(45.81% 0.125 260.2)
XYZxyz(10.2434, 9.4098, 32.7225)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B559C #9C722B
analogous
#2B8E9C #2B559C #3A2B9C
triadic
#2B559C #9C2B55 #559C2B
tetradic
#2B559C #9C2B8E #9C722B #2B9C3A
square
#2B559C #9C2B8E #9C722B #2B9C3A
split-complementary
#2B559C #9C3A2B #8E9C2B
monochromatic
#11213C #1E3B6C #2B559C #3B70C9 #6B93D6

Accessibility & contrast

On white

7.29
#2B559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B559C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B559C#FFFFFF#000000##FFFFFF
##2B559C1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9F
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b559c;
/* rgb */ color: rgb(43, 85, 156);
/* oklch */ color: oklch(45.8% 0.125 260.2);
Tailwind
colors: {
  custom: {
    50: '#7384ba',
    500: '#2b559c',
    950: '#000000',
  },
}
SCSS
$custom: #2b559c;
$custom-light: #7384ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b559c",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 217.699,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.12489,
    "h": 260.2
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B559C

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

Preview Lab → · Contrast checker → · Palette generator →

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