#2B59AB#2B59AB

#2B59AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.141 H 260.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2B59AB
RGBrgb(43, 89, 171)
HSLhsl(218, 60%, 42%)
HSVhsv(218, 75%, 67%)
CMYKcmyk(74.9%, 48%, 0%, 32.9%)
CIE-LABlab(38.89, 13.64, -48.52)
CIE-LCHlch(38.89, 50.40, 285.70°)
OKLaboklab(47.77% -0.0222 -0.1393)
OKLCHoklch(47.77% 0.141 260.9)
XYZxyz(11.9167, 10.5973, 39.9376)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59AB #AB7D2B
analogous
#2B99AB #2B59AB #3D2BAB
triadic
#2B59AB #AB2B59 #59AB2B
tetradic
#2B59AB #AB2B99 #AB7D2B #2BAB3D
square
#2B59AB #AB2B99 #AB7D2B #2BAB3D
split-complementary
#2B59AB #AB3D2B #99AB2B
monochromatic
#122649 #1F407A #2B59AB #4376D0 #749ADC

Accessibility & contrast

On white

6.73
#2B59AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2B59AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59AB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59AB#FFFFFF#000000##FFFFFF
##2B59AB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AE
Deuteranopia (green-blind)
#0756A9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b59ab;
/* rgb */ color: rgb(43, 89, 171);
/* oklch */ color: oklch(47.8% 0.141 260.9);
Tailwind
colors: {
  custom: {
    50: '#7687c4',
    500: '#2b59ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b59ab;
$custom-light: #7687c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59ab",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 171
  },
  "hsl": {
    "h": 218.438,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47766,
    "c": 0.14101,
    "h": 260.9
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#2B59AB
secondary
#C4A56E
accent
#AA45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B59AB

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

Preview Lab → · Contrast checker → · Palette generator →

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