#2B5BB6#2B5BB6

#2B5BB6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.154 H 261.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2B5BB6
RGBrgb(43, 91, 182)
HSLhsl(219, 62%, 44%)
HSVhsv(219, 76%, 71%)
CMYKcmyk(76.4%, 50%, 0%, 28.6%)
CIE-LABlab(40.20, 16.54, -52.90)
CIE-LCHlch(40.20, 55.43, 287.37°)
OKLaboklab(49% -0.0223 -0.1521)
OKLCHoklch(49% 0.154 261.7)
XYZxyz(13.1778, 11.3717, 45.7473)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BB6 #B6862B
analogous
#2BA1B6 #2B5BB6 #412BB6
triadic
#2B5BB6 #B62B5B #5BB62B
tetradic
#2B5BB6 #B62BA1 #B6862B #2BB641
square
#2B5BB6 #B62BA1 #B6862B #2BB641
split-complementary
#2B5BB6 #B6412B #A1B62B
monochromatic
#142953 #1F4284 #2B5BB6 #4A7AD4 #7B9EE0

Accessibility & contrast

On white

6.41
#2B5BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2B5BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BB6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BB6#FFFFFF#000000##FFFFFF
##2B5BB61.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2465B9
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5bb6;
/* rgb */ color: rgb(43, 91, 182);
/* oklch */ color: oklch(49.0% 0.154 261.7);
Tailwind
colors: {
  custom: {
    50: '#7888cc',
    500: '#2b5bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bb6;
$custom-light: #7888cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bb6",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 219.281,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.15372,
    "h": 261.7
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#2B5BB6
secondary
#C8AB75
accent
#AD43E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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