#2B5BA7#2B5BA7

#2B5BA7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.9% C 0.133 H 259.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2B5BA7
RGBrgb(43, 91, 167)
HSLhsl(217, 59%, 41%)
HSVhsv(217, 74%, 65%)
CMYKcmyk(74.3%, 45.5%, 0%, 34.5%)
CIE-LABlab(39.22, 10.80, -45.63)
CIE-LCHlch(39.22, 46.89, 283.31°)
OKLaboklab(47.93% -0.0247 -0.1307)
OKLCHoklch(47.93% 0.133 259.3)
XYZxyz(11.7099, 10.7845, 38.0162)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BA7 #A7772B
analogous
#2B99A7 #2B5BA7 #392BA7
triadic
#2B5BA7 #A72B5B #5BA72B
tetradic
#2B5BA7 #A72B99 #A7772B #2BA739
square
#2B5BA7 #A72B99 #A7772B #2BA739
split-complementary
#2B5BA7 #A7392B #99A72B
monochromatic
#122646 #1E4076 #2B5BA7 #4178CE #729ADB

Accessibility & contrast

On white

6.65
#2B5BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2B5BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BA7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BA7#FFFFFF#000000##FFFFFF
##2B5BA71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462AA
Deuteranopia (green-blind)
#1B57A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5ba7;
/* rgb */ color: rgb(43, 91, 167);
/* oklch */ color: oklch(47.9% 0.133 259.3);
Tailwind
colors: {
  custom: {
    50: '#7588c2',
    500: '#2b5ba7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ba7;
$custom-light: #7588c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ba7",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 216.774,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4793,
    "c": 0.13303,
    "h": 259.3
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#2B5BA7
secondary
#C2A16C
accent
#A646E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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