#2B59A2#2B59A2

#2B59A2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.1% C 0.128 H 259.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2B59A2
RGBrgb(43, 89, 162)
HSLhsl(217, 58%, 40%)
HSVhsv(217, 73%, 64%)
CMYKcmyk(73.5%, 45.1%, 0%, 36.5%)
CIE-LABlab(38.32, 10.19, -44.10)
CIE-LCHlch(38.32, 45.26, 283.01°)
OKLaboklab(47.14% -0.0238 -0.1262)
OKLCHoklch(47.14% 0.128 259.3)
XYZxyz(11.0879, 10.2658, 35.5726)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59A2 #A2742B
analogous
#2B94A2 #2B59A2 #392BA2
triadic
#2B59A2 #A22B59 #59A22B
tetradic
#2B59A2 #A22B94 #A2742B #2BA239
square
#2B59A2 #A22B94 #A2742B #2BA239
split-complementary
#2B59A2 #A2392B #94A22B
monochromatic
#112441 #1E3E72 #2B59A2 #3E75CC #6F98D9

Accessibility & contrast

On white

6.88
#2B59A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B59A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59A2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59A2#FFFFFF#000000##FFFFFF
##2B59A21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b59a2;
/* rgb */ color: rgb(43, 89, 162);
/* oklch */ color: oklch(47.1% 0.128 259.3);
Tailwind
colors: {
  custom: {
    50: '#7487be',
    500: '#2b59a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b59a2;
$custom-light: #7487be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59a2",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 216.807,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.12847,
    "h": 259.3
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#2B59A2
secondary
#C09E69
accent
#A547E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B59A2

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

Preview Lab → · Contrast checker → · Palette generator →

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