#2B589F#2B589F

#2B589F is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.125 H 259.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2B589F
RGBrgb(43, 88, 159)
HSLhsl(217, 57%, 40%)
HSVhsv(217, 73%, 62%)
CMYKcmyk(73%, 44.7%, 0%, 37.6%)
CIE-LABlab(37.83, 9.70, -43.08)
CIE-LCHlch(37.83, 44.16, 282.69°)
OKLaboklab(46.7% -0.0234 -0.1233)
OKLCHoklch(46.7% 0.125 259.2)
XYZxyz(10.7417, 9.9951, 34.1573)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B589F #9F722B
analogous
#2B929F #2B589F #382B9F
triadic
#2B589F #9F2B58 #589F2B
tetradic
#2B589F #9F2B92 #9F722B #2B9F38
square
#2B589F #9F2B92 #9F722B #2B9F38
split-complementary
#2B589F #9F382B #929F2B
monochromatic
#11233F #1E3D6F #2B589F #3D74CA #6D96D7

Accessibility & contrast

On white

7.00
#2B589F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2B589F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B589F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B589F#FFFFFF#000000##FFFFFF
##2B589F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#1F549E
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b589f;
/* rgb */ color: rgb(43, 88, 159);
/* oklch */ color: oklch(46.7% 0.125 259.2);
Tailwind
colors: {
  custom: {
    50: '#7486bc',
    500: '#2b589f',
    950: '#000000',
  },
}
SCSS
$custom: #2b589f;
$custom-light: #7486bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b589f",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 216.724,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.12547,
    "h": 259.2
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#2B589F
secondary
#BE9D67
accent
#A547E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B589F

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

Preview Lab → · Contrast checker → · Palette generator →

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