#2B559E#2B559E

#2B559E is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.128 H 260.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2B559E
RGBrgb(43, 85, 158)
HSLhsl(218, 57%, 39%)
HSVhsv(218, 73%, 62%)
CMYKcmyk(72.8%, 46.2%, 0%, 38%)
CIE-LABlab(36.89, 11.29, -43.99)
CIE-LCHlch(36.89, 45.42, 284.39°)
OKLaboklab(45.95% -0.0208 -0.126)
OKLCHoklch(45.95% 0.128 260.6)
XYZxyz(10.4141, 9.4781, 33.6217)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B559E #9E742B
analogous
#2B8F9E #2B559E #3B2B9E
triadic
#2B559E #9E2B55 #559E2B
tetradic
#2B559E #9E2B8F #9E742B #2B9E3B
square
#2B559E #9E2B8F #9E742B #2B9E3B
split-complementary
#2B559E #9E3B2B #8F9E2B
monochromatic
#11213E #1E3B6E #2B559E #3C70CA #6C93D7

Accessibility & contrast

On white

7.25
#2B559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B559E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B559E#FFFFFF#000000##FFFFFF
##2B559E1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA1
Deuteranopia (green-blind)
#18529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b559e;
/* rgb */ color: rgb(43, 85, 158);
/* oklch */ color: oklch(46.0% 0.128 260.6);
Tailwind
colors: {
  custom: {
    50: '#7384bb',
    500: '#2b559e',
    950: '#000000',
  },
}
SCSS
$custom: #2b559e;
$custom-light: #7384bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b559e",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 218.087,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.12772,
    "h": 260.6
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#2B559E
secondary
#BE9E67
accent
#A947E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B559E

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

Preview Lab → · Contrast checker → · Palette generator →

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