#2B58BD#2B58BD

#2B58BD is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.167 H 263.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2B58BD
RGBrgb(43, 88, 189)
HSLhsl(222, 63%, 45%)
HSVhsv(222, 77%, 74%)
CMYKcmyk(77.2%, 53.4%, 0%, 25.9%)
CIE-LABlab(39.86, 21.19, -57.55)
CIE-LCHlch(39.86, 61.33, 290.21°)
OKLaboklab(48.9% -0.0192 -0.1658)
OKLCHoklch(48.9% 0.167 263.4)
XYZxyz(13.6680, 11.1656, 49.5691)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58BD #BD902B
analogous
#2BA1BD #2B58BD #472BBD
triadic
#2B58BD #BD2B58 #58BD2B
tetradic
#2B58BD #BD2BA1 #BD902B #2BBD47
square
#2B58BD #BD2BA1 #BD902B #2BBD47
split-complementary
#2B58BD #BD472B #A1BD2B
monochromatic
#142A59 #20418B #2B58BD #4E78D7 #809EE2

Accessibility & contrast

On white

6.49
#2B58BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B58BD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58BD#FFFFFF#000000##FFFFFF
##2B58BD1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0765C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b58bd;
/* rgb */ color: rgb(43, 88, 189);
/* oklch */ color: oklch(48.9% 0.167 263.4);
Tailwind
colors: {
  custom: {
    50: '#7a86d2',
    500: '#2b58bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b58bd;
$custom-light: #7a86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58bd",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 221.507,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48898,
    "c": 0.16694,
    "h": 263.4
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#2B58BD
secondary
#CBB279
accent
#B342E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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