#2B559A#2B559A

#2B559A is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.122 H 259.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2B559A
RGBrgb(43, 85, 154)
HSLhsl(217, 56%, 39%)
HSVhsv(217, 72%, 60%)
CMYKcmyk(72.1%, 44.8%, 0%, 39.6%)
CIE-LABlab(36.64, 9.76, -42.00)
CIE-LCHlch(36.64, 43.11, 283.08°)
OKLaboklab(45.68% -0.0216 -0.1201)
OKLCHoklch(45.68% 0.122 259.8)
XYZxyz(10.0754, 9.3426, 31.8379)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B559A #9A702B
analogous
#2B8C9A #2B559A #382B9A
triadic
#2B559A #9A2B55 #559A2B
tetradic
#2B559A #9A2B8C #9A702B #2B9A38
square
#2B559A #9A2B8C #9A702B #2B9A38
split-complementary
#2B559A #9A382B #8C9A2B
monochromatic
#10203A #1E3B6A #2B559A #3A70C8 #6A93D5

Accessibility & contrast

On white

7.32
#2B559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2B559A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B559A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B559A#FFFFFF#000000##FFFFFF
##2B559A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#1F5199
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b559a;
/* rgb */ color: rgb(43, 85, 154);
/* oklch */ color: oklch(45.7% 0.122 259.8);
Tailwind
colors: {
  custom: {
    50: '#7384b8',
    500: '#2b559a',
    950: '#000000',
  },
}
SCSS
$custom: #2b559a;
$custom-light: #7384b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b559a",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 217.297,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.12205,
    "h": 259.8
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#2B559A
secondary
#BC9B65
accent
#A648E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B559A

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

Preview Lab → · Contrast checker → · Palette generator →

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