#2B5699#2B5699

#2B5699 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.119 H 259.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2B5699
RGBrgb(43, 86, 153)
HSLhsl(217, 56%, 38%)
HSVhsv(217, 72%, 60%)
CMYKcmyk(71.9%, 43.8%, 0%, 40%)
CIE-LABlab(36.87, 8.72, -41.02)
CIE-LCHlch(36.87, 41.93, 282.00°)
OKLaboklab(45.84% -0.0227 -0.1172)
OKLCHoklch(45.84% 0.119 259)
XYZxyz(10.0717, 9.4680, 31.4275)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5699 #996E2B
analogous
#2B8D99 #2B5699 #372B99
triadic
#2B5699 #992B56 #56992B
tetradic
#2B5699 #992B8D #996E2B #2B9937
square
#2B5699 #992B8D #996E2B #2B9937
split-complementary
#2B5699 #99372B #8D992B
monochromatic
#102039 #1E3B69 #2B5699 #3A71C8 #6993D5

Accessibility & contrast

On white

7.26
#2B5699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2B5699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5699
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5699#FFFFFF#000000##FFFFFF
##2B56991.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b5699;
/* rgb */ color: rgb(43, 86, 153);
/* oklch */ color: oklch(45.8% 0.119 259.0);
Tailwind
colors: {
  custom: {
    50: '#7285b7',
    500: '#2b5699',
    950: '#000000',
  },
}
SCSS
$custom: #2b5699;
$custom-light: #7285b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5699",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 216.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.11942,
    "h": 259
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#2B5699
secondary
#BC9964
accent
#A448DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5699

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

Preview Lab → · Contrast checker → · Palette generator →

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