#2B59A1#2B59A1

#2B59A1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.127 H 259.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2B59A1
RGBrgb(43, 89, 161)
HSLhsl(217, 58%, 40%)
HSVhsv(217, 73%, 63%)
CMYKcmyk(73.3%, 44.7%, 0%, 36.9%)
CIE-LABlab(38.25, 9.81, -43.60)
CIE-LCHlch(38.25, 44.69, 282.68°)
OKLaboklab(47.07% -0.024 -0.1248)
OKLCHoklch(47.07% 0.127 259.1)
XYZxyz(10.9993, 10.2304, 35.1063)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59A1 #A1732B
analogous
#2B94A1 #2B59A1 #382BA1
triadic
#2B59A1 #A12B59 #59A12B
tetradic
#2B59A1 #A12B94 #A1732B #2BA138
square
#2B59A1 #A12B94 #A1732B #2BA138
split-complementary
#2B59A1 #A1382B #94A12B
monochromatic
#112440 #1E3E71 #2B59A1 #3E75CB #6E98D8

Accessibility & contrast

On white

6.89
#2B59A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B59A1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59A1#FFFFFF#000000##FFFFFF
##2B59A11.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b59a1;
/* rgb */ color: rgb(43, 89, 161);
/* oklch */ color: oklch(47.1% 0.127 259.1);
Tailwind
colors: {
  custom: {
    50: '#7487bd',
    500: '#2b59a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b59a1;
$custom-light: #7487bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59a1",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 161
  },
  "hsl": {
    "h": 216.61,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.12708,
    "h": 259.1
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#2B59A1
secondary
#BF9D69
accent
#A547E1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B59A1

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

Preview Lab → · Contrast checker → · Palette generator →

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