#2B59A7#2B59A7

#2B59A7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.135 H 260.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2B59A7
RGBrgb(43, 89, 167)
HSLhsl(218, 59%, 41%)
HSVhsv(218, 74%, 65%)
CMYKcmyk(74.3%, 46.7%, 0%, 34.5%)
CIE-LABlab(38.63, 12.11, -46.57)
CIE-LCHlch(38.63, 48.11, 284.57°)
OKLaboklab(47.48% -0.0229 -0.1335)
OKLCHoklch(47.48% 0.135 260.3)
XYZxyz(11.5412, 10.4471, 37.9600)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59A7 #A7792B
analogous
#2B97A7 #2B59A7 #3B2BA7
triadic
#2B59A7 #A72B59 #59A72B
tetradic
#2B59A7 #A72B97 #A7792B #2BA73B
square
#2B59A7 #A72B97 #A7792B #2BA73B
split-complementary
#2B59A7 #A73B2B #97A72B
monochromatic
#122546 #1E3F76 #2B59A7 #4175CE #7299DB

Accessibility & contrast

On white

6.80
#2B59A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2B59A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59A7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59A7#FFFFFF#000000##FFFFFF
##2B59A71.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AA
Deuteranopia (green-blind)
#1456A5
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b59a7;
/* rgb */ color: rgb(43, 89, 167);
/* oklch */ color: oklch(47.5% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#7587c2',
    500: '#2b59a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b59a7;
$custom-light: #7587c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59a7",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 167
  },
  "hsl": {
    "h": 217.742,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.13545,
    "h": 260.3
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#2B59A7
secondary
#C2A26C
accent
#A846E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B59A7

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

Preview Lab → · Contrast checker → · Palette generator →

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