#2B59A5#2B59A5

#2B59A5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.133 H 259.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2B59A5
RGBrgb(43, 89, 165)
HSLhsl(217, 59%, 41%)
HSVhsv(217, 74%, 65%)
CMYKcmyk(73.9%, 46.1%, 0%, 35.3%)
CIE-LABlab(38.50, 11.34, -45.58)
CIE-LCHlch(38.50, 46.97, 283.97°)
OKLaboklab(47.34% -0.0232 -0.1306)
OKLCHoklch(47.34% 0.133 259.9)
XYZxyz(11.3577, 10.3737, 36.9938)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59A5 #A5772B
analogous
#2B96A5 #2B59A5 #3A2BA5
triadic
#2B59A5 #A52B59 #59A52B
tetradic
#2B59A5 #A52B96 #A5772B #2BA53A
square
#2B59A5 #A52B96 #A5772B #2BA53A
split-complementary
#2B59A5 #A53A2B #96A52B
monochromatic
#122544 #1E3F74 #2B59A5 #4075CD #7198DA

Accessibility & contrast

On white

6.83
#2B59A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2B59A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59A5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59A5#FFFFFF#000000##FFFFFF
##2B59A51.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#1855A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b59a5;
/* rgb */ color: rgb(43, 89, 165);
/* oklch */ color: oklch(47.3% 0.133 259.9);
Tailwind
colors: {
  custom: {
    50: '#7587c0',
    500: '#2b59a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b59a5;
$custom-light: #7587c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59a5",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 165
  },
  "hsl": {
    "h": 217.377,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.13266,
    "h": 259.9
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#2B59A5
secondary
#C1A16B
accent
#A746E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B59A5

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

Preview Lab → · Contrast checker → · Palette generator →

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