#2B5BBD#2B5BBD

#2B5BBD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.163 H 262.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2B5BBD
RGBrgb(43, 91, 189)
HSLhsl(220, 63%, 45%)
HSVhsv(220, 77%, 74%)
CMYKcmyk(77.2%, 51.9%, 0%, 25.9%)
CIE-LABlab(40.68, 19.22, -56.21)
CIE-LCHlch(40.68, 59.41, 288.88°)
OKLaboklab(49.53% -0.0214 -0.1618)
OKLCHoklch(49.53% 0.163 262.5)
XYZxyz(13.9194, 11.6683, 49.6529)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BBD #BD8D2B
analogous
#2BA4BD #2B5BBD #442BBD
triadic
#2B5BBD #BD2B5B #5BBD2B
tetradic
#2B5BBD #BD2BA4 #BD8D2B #2BBD44
square
#2B5BBD #BD2BA4 #BD8D2B #2BBD44
split-complementary
#2B5BBD #BD442B #A4BD2B
monochromatic
#142B59 #20438B #2B5BBD #4E7BD7 #80A0E2

Accessibility & contrast

On white

6.30
#2B5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2B5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BBD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BBD#FFFFFF#000000##FFFFFF
##2B5BBD1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5bbd;
/* rgb */ color: rgb(43, 91, 189);
/* oklch */ color: oklch(49.5% 0.163 262.5);
Tailwind
colors: {
  custom: {
    50: '#7a88d2',
    500: '#2b5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bbd;
$custom-light: #7a88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bbd",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 220.274,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.16326,
    "h": 262.5
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#2B5BBD
secondary
#CBB079
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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