#2B58BB#2B58BB

#2B58BB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.164 H 263.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2B58BB
RGBrgb(43, 88, 187)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 77%, 73%)
CMYKcmyk(77%, 52.9%, 0%, 26.7%)
CIE-LABlab(39.71, 20.42, -56.61)
CIE-LCHlch(39.71, 60.18, 289.84°)
OKLaboklab(48.74% -0.0194 -0.1631)
OKLCHoklch(48.74% 0.164 263.2)
XYZxyz(13.4524, 11.0794, 48.4336)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58BB #BB8E2B
analogous
#2BA0BB #2B58BB #462BBB
triadic
#2B58BB #BB2B58 #58BB2B
tetradic
#2B58BB #BB2BA0 #BB8E2B #2BBB46
square
#2B58BB #BB2BA0 #BB8E2B #2BBB46
split-complementary
#2B58BB #BB462B #A0BB2B
monochromatic
#142957 #204189 #2B58BB #4D78D6 #7F9EE2

Accessibility & contrast

On white

6.53
#2B58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2B58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58BB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58BB#FFFFFF#000000##FFFFFF
##2B58BB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b58bb;
/* rgb */ color: rgb(43, 88, 187);
/* oklch */ color: oklch(48.7% 0.164 263.2);
Tailwind
colors: {
  custom: {
    50: '#7a86d0',
    500: '#2b58bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b58bb;
$custom-light: #7a86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58bb",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 221.25,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.16423,
    "h": 263.2
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

primary
#2B58BB
secondary
#CAB078
accent
#B342E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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