#2B5BB0#2B5BB0

#2B5BB0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.145 H 260.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2B5BB0
RGBrgb(43, 91, 176)
HSLhsl(218, 61%, 43%)
HSVhsv(218, 76%, 69%)
CMYKcmyk(75.6%, 48.3%, 0%, 31%)
CIE-LABlab(39.80, 14.25, -50.02)
CIE-LCHlch(39.80, 52.01, 285.90°)
OKLaboklab(48.57% -0.0232 -0.1436)
OKLCHoklch(48.57% 0.145 260.8)
XYZxyz(12.5710, 11.1289, 42.5514)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BB0 #B0802B
analogous
#2B9DB0 #2B5BB0 #3D2BB0
triadic
#2B5BB0 #B02B5B #5BB02B
tetradic
#2B5BB0 #B02B9D #B0802B #2BB03D
square
#2B5BB0 #B02B9D #B0802B #2BB03D
split-complementary
#2B5BB0 #B03D2B #9DB02B
monochromatic
#13284E #1F427F #2B5BB0 #4679D2 #789CDE

Accessibility & contrast

On white

6.51
#2B5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2B5BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BB0
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BB0#FFFFFF#000000##FFFFFF
##2B5BB01.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5bb0;
/* rgb */ color: rgb(43, 91, 176);
/* oklch */ color: oklch(48.6% 0.145 260.8);
Tailwind
colors: {
  custom: {
    50: '#7788c8',
    500: '#2b5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bb0;
$custom-light: #7788c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bb0",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 218.346,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48565,
    "c": 0.14549,
    "h": 260.8
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

primary
#2B5BB0
secondary
#C6A771
accent
#AA44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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