#2B5899#2B5899

#2B5899 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.117 H 257.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2B5899
RGBrgb(43, 88, 153)
HSLhsl(215, 56%, 38%)
HSVhsv(215, 72%, 60%)
CMYKcmyk(71.9%, 42.5%, 0%, 40%)
CIE-LABlab(37.47, 7.41, -40.07)
CIE-LCHlch(37.47, 40.75, 280.48°)
OKLaboklab(46.3% -0.0247 -0.1144)
OKLCHoklch(46.3% 0.117 257.8)
XYZxyz(10.2337, 9.7919, 31.4815)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5899 #996C2B
analogous
#2B8F99 #2B5899 #352B99
triadic
#2B5899 #992B58 #58992B
tetradic
#2B5899 #992B8F #996C2B #2B9935
square
#2B5899 #992B8F #996C2B #2B9935
split-complementary
#2B5899 #99352B #8F992B
monochromatic
#102139 #1E3D69 #2B5899 #3A74C8 #6995D5

Accessibility & contrast

On white

7.10
#2B5899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2B5899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5899
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5899#FFFFFF#000000##FFFFFF
##2B58991.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#275398
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b5899;
/* rgb */ color: rgb(43, 88, 153);
/* oklch */ color: oklch(46.3% 0.117 257.8);
Tailwind
colors: {
  custom: {
    50: '#7286b7',
    500: '#2b5899',
    950: '#000000',
  },
}
SCSS
$custom: #2b5899;
$custom-light: #7286b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5899",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 215.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.11704,
    "h": 257.8
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#2B5899
secondary
#BC9864
accent
#A248DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5899

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

Preview Lab → · Contrast checker → · Palette generator →

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