#2B5BB3#2B5BB3

#2B5BB3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.150 H 261.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2B5BB3
RGBrgb(43, 91, 179)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 76%, 70%)
CMYKcmyk(76%, 49.2%, 0%, 29.8%)
CIE-LABlab(40.00, 15.40, -51.47)
CIE-LCHlch(40.00, 53.72, 286.65°)
OKLaboklab(48.78% -0.0227 -0.1479)
OKLCHoklch(48.78% 0.15 261.3)
XYZxyz(12.8711, 11.2490, 44.1320)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BB3 #B3832B
analogous
#2B9FB3 #2B5BB3 #3F2BB3
triadic
#2B5BB3 #B32B5B #5BB32B
tetradic
#2B5BB3 #B32B9F #B3832B #2BB33F
square
#2B5BB3 #B32B9F #B3832B #2BB33F
split-complementary
#2B5BB3 #B33F2B #9FB32B
monochromatic
#132950 #1F4282 #2B5BB3 #4879D3 #799DDF

Accessibility & contrast

On white

6.46
#2B5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B5BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BB3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BB3#FFFFFF#000000##FFFFFF
##2B5BB31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5bb3;
/* rgb */ color: rgb(43, 91, 179);
/* oklch */ color: oklch(48.8% 0.150 261.3);
Tailwind
colors: {
  custom: {
    50: '#7888ca',
    500: '#2b5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bb3;
$custom-light: #7888ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bb3",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 218.824,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.14961,
    "h": 261.3
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#2B5BB3
secondary
#C7A973
accent
#AC43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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