#2B59A4#2B59A4

#2B59A4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.131 H 259.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2B59A4
RGBrgb(43, 89, 164)
HSLhsl(217, 58%, 41%)
HSVhsv(217, 74%, 64%)
CMYKcmyk(73.8%, 45.7%, 0%, 35.7%)
CIE-LABlab(38.44, 10.96, -45.09)
CIE-LCHlch(38.44, 46.40, 283.66°)
OKLaboklab(47.27% -0.0234 -0.1292)
OKLCHoklch(47.27% 0.131 259.7)
XYZxyz(11.2671, 10.3375, 36.5163)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59A4 #A4762B
analogous
#2B95A4 #2B59A4 #392BA4
triadic
#2B59A4 #A42B59 #59A42B
tetradic
#2B59A4 #A42B95 #A4762B #2BA439
square
#2B59A4 #A42B95 #A4762B #2BA439
split-complementary
#2B59A4 #A4392B #95A42B
monochromatic
#122443 #1E3F74 #2B59A4 #3F75CD #7098D9

Accessibility & contrast

On white

6.85
#2B59A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2B59A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59A4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59A4#FFFFFF#000000##FFFFFF
##2B59A41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A7
Deuteranopia (green-blind)
#1A55A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b59a4;
/* rgb */ color: rgb(43, 89, 164);
/* oklch */ color: oklch(47.3% 0.131 259.7);
Tailwind
colors: {
  custom: {
    50: '#7587bf',
    500: '#2b59a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b59a4;
$custom-light: #7587bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59a4",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 217.19,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47272,
    "c": 0.13127,
    "h": 259.7
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B59A4

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

Preview Lab → · Contrast checker → · Palette generator →

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