#2B5FB0#2B5FB0

#2B5FB0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.141 H 259.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2B5FB0
RGBrgb(43, 95, 176)
HSLhsl(217, 61%, 43%)
HSVhsv(217, 76%, 69%)
CMYKcmyk(75.6%, 46%, 0%, 31%)
CIE-LABlab(40.95, 11.64, -48.17)
CIE-LCHlch(40.95, 49.56, 283.58°)
OKLaboklab(49.45% -0.0266 -0.1381)
OKLCHoklch(49.45% 0.141 259.1)
XYZxyz(12.9221, 11.8311, 42.6685)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FB0 #B07C2B
analogous
#2BA2B0 #2B5FB0 #392BB0
triadic
#2B5FB0 #B02B5F #5FB02B
tetradic
#2B5FB0 #B02BA2 #B07C2B #2BB039
square
#2B5FB0 #B02BA2 #B07C2B #2BB039
split-complementary
#2B5FB0 #B0392B #A2B02B
monochromatic
#132A4E #1F447F #2B5FB0 #467DD2 #78A0DE

Accessibility & contrast

On white

6.24
#2B5FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2B5FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FB0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FB0#FFFFFF#000000##FFFFFF
##2B5FB01.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#175BAE
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5fb0;
/* rgb */ color: rgb(43, 95, 176);
/* oklch */ color: oklch(49.4% 0.141 259.1);
Tailwind
colors: {
  custom: {
    50: '#778bc8',
    500: '#2b5fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fb0;
$custom-light: #778bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fb0",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 216.541,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.14065,
    "h": 259.1
  },
  "luminance": 0.11833
}

Semantic roles & 50–950 ramp

primary
#2B5FB0
secondary
#C6A571
accent
#A544E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B5FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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