#2B559F#2B559F

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

Color values

HEX#2B559F
RGBrgb(43, 85, 159)
HSLhsl(218, 57%, 40%)
HSVhsv(218, 73%, 62%)
CMYKcmyk(73%, 46.5%, 0%, 37.6%)
CIE-LABlab(36.95, 11.67, -44.49)
CIE-LCHlch(36.95, 45.99, 284.70°)
OKLaboklab(46.02% -0.0207 -0.1275)
OKLCHoklch(46.02% 0.129 260.8)
XYZxyz(10.5005, 9.5127, 34.0769)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B559F #9F752B
analogous
#2B8F9F #2B559F #3B2B9F
triadic
#2B559F #9F2B55 #559F2B
tetradic
#2B559F #9F2B8F #9F752B #2B9F3B
square
#2B559F #9F2B8F #9F752B #2B9F3B
split-complementary
#2B559F #9F3B2B #8F9F2B
monochromatic
#11213F #1E3B6F #2B559F #3D70CA #6D93D7

Accessibility & contrast

On white

7.23
#2B559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B559F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B559F#FFFFFF#000000##FFFFFF
##2B559F1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#16529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b559f;
/* rgb */ color: rgb(43, 85, 159);
/* oklch */ color: oklch(46.0% 0.129 260.8);
Tailwind
colors: {
  custom: {
    50: '#7484bc',
    500: '#2b559f',
    950: '#000000',
  },
}
SCSS
$custom: #2b559f;
$custom-light: #7484bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b559f",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 218.276,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.12913,
    "h": 260.8
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#2B559F
secondary
#BE9F67
accent
#A947E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B559F

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

Preview Lab → · Contrast checker → · Palette generator →

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