#2B559D#2B559D

#2B559D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.126 H 260.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2B559D
RGBrgb(43, 85, 157)
HSLhsl(218, 57%, 39%)
HSVhsv(218, 73%, 62%)
CMYKcmyk(72.6%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.83, 10.90, -43.50)
CIE-LCHlch(36.83, 44.84, 284.07°)
OKLaboklab(45.88% -0.021 -0.1245)
OKLCHoklch(45.88% 0.126 260.4)
XYZxyz(10.3284, 9.4438, 33.1703)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B559D #9D732B
analogous
#2B8E9D #2B559D #3A2B9D
triadic
#2B559D #9D2B55 #559D2B
tetradic
#2B559D #9D2B8E #9D732B #2B9D3A
square
#2B559D #9D2B8E #9D732B #2B9D3A
split-complementary
#2B559D #9D3A2B #8E9D2B
monochromatic
#11213D #1E3B6D #2B559D #3C70CA #6C93D7

Accessibility & contrast

On white

7.27
#2B559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2B559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B559D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B559D#FFFFFF#000000##FFFFFF
##2B559D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b559d;
/* rgb */ color: rgb(43, 85, 157);
/* oklch */ color: oklch(45.9% 0.126 260.4);
Tailwind
colors: {
  custom: {
    50: '#7384ba',
    500: '#2b559d',
    950: '#000000',
  },
}
SCSS
$custom: #2b559d;
$custom-light: #7384ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b559d",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 217.895,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.1263,
    "h": 260.4
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#2B559D
secondary
#BD9D66
accent
#A848E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B559D

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

Preview Lab → · Contrast checker → · Palette generator →

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