#2B58B8#2B58B8

#2B58B8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.160 H 262.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2B58B8
RGBrgb(43, 88, 184)
HSLhsl(221, 62%, 45%)
HSVhsv(221, 77%, 72%)
CMYKcmyk(76.6%, 52.2%, 0%, 27.8%)
CIE-LABlab(39.50, 19.28, -55.20)
CIE-LCHlch(39.50, 58.47, 289.25°)
OKLaboklab(48.51% -0.0197 -0.1589)
OKLCHoklch(48.51% 0.16 262.9)
XYZxyz(13.1346, 10.9522, 46.7599)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58B8 #B88B2B
analogous
#2B9FB8 #2B58B8 #442BB8
triadic
#2B58B8 #B82B58 #58B82B
tetradic
#2B58B8 #B82B9F #B88B2B #2BB844
square
#2B58B8 #B82B9F #B88B2B #2BB844
split-complementary
#2B58B8 #B8442B #9FB82B
monochromatic
#142955 #1F4086 #2B58B8 #4B77D5 #7D9DE1

Accessibility & contrast

On white

6.58
#2B58B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2B58B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58B8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58B8#FFFFFF#000000##FFFFFF
##2B58B81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1664BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b58b8;
/* rgb */ color: rgb(43, 88, 184);
/* oklch */ color: oklch(48.5% 0.160 262.9);
Tailwind
colors: {
  custom: {
    50: '#7986ce',
    500: '#2b58b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b58b8;
$custom-light: #7986ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58b8",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 220.851,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48513,
    "c": 0.16014,
    "h": 262.9
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#2B58B8
secondary
#C9AE76
accent
#B143E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2B58B8

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

Preview Lab → · Contrast checker → · Palette generator →

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