#2B58B9#2B58B9

#2B58B9 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.162 H 263.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2B58B9
RGBrgb(43, 88, 185)
HSLhsl(221, 62%, 45%)
HSVhsv(221, 77%, 73%)
CMYKcmyk(76.8%, 52.4%, 0%, 27.5%)
CIE-LABlab(39.57, 19.66, -55.67)
CIE-LCHlch(39.57, 59.04, 289.45°)
OKLaboklab(48.59% -0.0196 -0.1603)
OKLCHoklch(48.59% 0.162 263)
XYZxyz(13.2398, 10.9943, 47.3139)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58B9 #B98C2B
analogous
#2B9FB9 #2B58B9 #452BB9
triadic
#2B58B9 #B92B58 #58B92B
tetradic
#2B58B9 #B92B9F #B98C2B #2BB945
square
#2B58B9 #B92B9F #B98C2B #2BB945
split-complementary
#2B58B9 #B9452B #9FB92B
monochromatic
#142956 #1F4087 #2B58B9 #4C77D5 #7E9DE1

Accessibility & contrast

On white

6.56
#2B58B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2B58B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58B9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58B9#FFFFFF#000000##FFFFFF
##2B58B91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b58b9;
/* rgb */ color: rgb(43, 88, 185);
/* oklch */ color: oklch(48.6% 0.162 263.0);
Tailwind
colors: {
  custom: {
    50: '#7986cf',
    500: '#2b58b9',
    950: '#000000',
  },
}
SCSS
$custom: #2b58b9;
$custom-light: #7986cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58b9",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 185
  },
  "hsl": {
    "h": 220.986,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.16151,
    "h": 263
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#2B58B9
secondary
#C9AF76
accent
#B242E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B58B9

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

Preview Lab → · Contrast checker → · Palette generator →

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