#2B5499#2B5499

#2B5499 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.4% C 0.122 H 260.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2B5499
RGBrgb(43, 84, 153)
HSLhsl(218, 56%, 38%)
HSVhsv(218, 72%, 60%)
CMYKcmyk(71.9%, 45.1%, 0%, 40%)
CIE-LABlab(36.28, 10.03, -41.97)
CIE-LCHlch(36.28, 43.15, 283.44°)
OKLaboklab(45.38% -0.0208 -0.1201)
OKLCHoklch(45.38% 0.122 260.2)
XYZxyz(9.9143, 9.1531, 31.3750)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5499 #99702B
analogous
#2B8B99 #2B5499 #392B99
triadic
#2B5499 #992B54 #54992B
tetradic
#2B5499 #992B8B #99702B #2B9939
square
#2B5499 #992B8B #99702B #2B9939
split-complementary
#2B5499 #99392B #8B992B
monochromatic
#102039 #1E3A69 #2B5499 #3A6FC8 #6992D5

Accessibility & contrast

On white

7.42
#2B5499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2B5499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5499
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5499#FFFFFF#000000##FFFFFF
##2B54991.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b5499;
/* rgb */ color: rgb(43, 84, 153);
/* oklch */ color: oklch(45.4% 0.122 260.2);
Tailwind
colors: {
  custom: {
    50: '#7283b7',
    500: '#2b5499',
    950: '#000000',
  },
}
SCSS
$custom: #2b5499;
$custom-light: #7283b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5499",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 153
  },
  "hsl": {
    "h": 217.636,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.12186,
    "h": 260.2
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#2B5499
secondary
#BC9B64
accent
#A748DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5499

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

Preview Lab → · Contrast checker → · Palette generator →

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