#2B59A3#2B59A3

#2B59A3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.130 H 259.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2B59A3
RGBrgb(43, 89, 163)
HSLhsl(217, 58%, 40%)
HSVhsv(217, 74%, 64%)
CMYKcmyk(73.6%, 45.4%, 0%, 36.1%)
CIE-LABlab(38.38, 10.57, -44.60)
CIE-LCHlch(38.38, 45.83, 283.34°)
OKLaboklab(47.2% -0.0236 -0.1277)
OKLCHoklch(47.2% 0.13 259.5)
XYZxyz(11.1771, 10.3015, 36.0426)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59A3 #A3752B
analogous
#2B95A3 #2B59A3 #392BA3
triadic
#2B59A3 #A32B59 #59A32B
tetradic
#2B59A3 #A32B95 #A3752B #2BA339
square
#2B59A3 #A32B95 #A3752B #2BA339
split-complementary
#2B59A3 #A3392B #95A32B
monochromatic
#112442 #1E3F73 #2B59A3 #3F75CC #6F98D9

Accessibility & contrast

On white

6.86
#2B59A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2B59A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59A3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59A3#FFFFFF#000000##FFFFFF
##2B59A31.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#1C55A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b59a3;
/* rgb */ color: rgb(43, 89, 163);
/* oklch */ color: oklch(47.2% 0.130 259.5);
Tailwind
colors: {
  custom: {
    50: '#7487bf',
    500: '#2b59a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b59a3;
$custom-light: #7487bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59a3",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 217,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.12986,
    "h": 259.5
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#2B59A3
secondary
#C09F6A
accent
#A646E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B59A3

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

Preview Lab → · Contrast checker → · Palette generator →

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