#2B59B3#2B59B3

#2B59B3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.152 H 262.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2B59B3
RGBrgb(43, 89, 179)
HSLhsl(220, 61%, 44%)
HSVhsv(220, 76%, 70%)
CMYKcmyk(76%, 50.3%, 0%, 29.8%)
CIE-LABlab(39.43, 16.71, -52.38)
CIE-LCHlch(39.43, 54.98, 287.69°)
OKLaboklab(48.35% -0.0211 -0.1506)
OKLCHoklch(48.35% 0.152 262)
XYZxyz(12.7024, 10.9116, 44.0758)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59B3 #B3852B
analogous
#2B9DB3 #2B59B3 #412BB3
triadic
#2B59B3 #B32B59 #59B32B
tetradic
#2B59B3 #B32B9D #B3852B #2BB341
square
#2B59B3 #B32B9D #B3852B #2BB341
split-complementary
#2B59B3 #B3412B #9DB32B
monochromatic
#132850 #1F4082 #2B59B3 #4877D3 #799CDF

Accessibility & contrast

On white

6.60
#2B59B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B59B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59B3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59B3#FFFFFF#000000##FFFFFF
##2B59B31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b59b3;
/* rgb */ color: rgb(43, 89, 179);
/* oklch */ color: oklch(48.3% 0.152 262.0);
Tailwind
colors: {
  custom: {
    50: '#7887ca',
    500: '#2b59b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b59b3;
$custom-light: #7887ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59b3",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 219.706,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.15207,
    "h": 262
  },
  "luminance": 0.10913
}

Semantic roles & 50–950 ramp

primary
#2B59B3
secondary
#C7AB73
accent
#AE43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B59B3

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

Preview Lab → · Contrast checker → · Palette generator →

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