#2B589A#2B589A

#2B589A is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.4% C 0.118 H 258.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2B589A
RGBrgb(43, 88, 154)
HSLhsl(216, 56%, 39%)
HSVhsv(216, 72%, 60%)
CMYKcmyk(72.1%, 42.9%, 0%, 39.6%)
CIE-LABlab(37.53, 7.79, -40.57)
CIE-LCHlch(37.53, 41.31, 280.87°)
OKLaboklab(46.37% -0.0245 -0.1159)
OKLCHoklch(46.37% 0.118 258.1)
XYZxyz(10.3166, 9.8250, 31.9183)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B589A #9A6D2B
analogous
#2B8F9A #2B589A #362B9A
triadic
#2B589A #9A2B58 #589A2B
tetradic
#2B589A #9A2B8F #9A6D2B #2B9A36
square
#2B589A #9A2B8F #9A6D2B #2B9A36
split-complementary
#2B589A #9A362B #8F9A2B
monochromatic
#10213A #1E3D6A #2B589A #3A74C8 #6A96D5

Accessibility & contrast

On white

7.08
#2B589A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B589A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B589A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B589A#FFFFFF#000000##FFFFFF
##2B589A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#265499
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b589a;
/* rgb */ color: rgb(43, 88, 154);
/* oklch */ color: oklch(46.4% 0.118 258.1);
Tailwind
colors: {
  custom: {
    50: '#7286b8',
    500: '#2b589a',
    950: '#000000',
  },
}
SCSS
$custom: #2b589a;
$custom-light: #7286b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b589a",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 154
  },
  "hsl": {
    "h": 215.676,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.11846,
    "h": 258.1
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#2B589A
secondary
#BC9965
accent
#A248E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B589A

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

Preview Lab → · Contrast checker → · Palette generator →

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