#2B58BA#2B58BA

#2B58BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.163 H 263.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2B58BA
RGBrgb(43, 88, 186)
HSLhsl(221, 62%, 45%)
HSVhsv(221, 77%, 73%)
CMYKcmyk(76.9%, 52.7%, 0%, 27.1%)
CIE-LABlab(39.64, 20.04, -56.14)
CIE-LCHlch(39.64, 59.61, 289.64°)
OKLaboklab(48.67% -0.0195 -0.1617)
OKLCHoklch(48.67% 0.163 263.1)
XYZxyz(13.3457, 11.0367, 47.8718)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58BA #BA8D2B
analogous
#2B9FBA #2B58BA #462BBA
triadic
#2B58BA #BA2B58 #58BA2B
tetradic
#2B58BA #BA2B9F #BA8D2B #2BBA46
square
#2B58BA #BA2B9F #BA8D2B #2BBA46
split-complementary
#2B58BA #BA462B #9FBA2B
monochromatic
#142957 #204088 #2B58BA #4C78D6 #7E9DE1

Accessibility & contrast

On white

6.55
#2B58BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2B58BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58BA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58BA#FFFFFF#000000##FFFFFF
##2B58BA1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1164BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b58ba;
/* rgb */ color: rgb(43, 88, 186);
/* oklch */ color: oklch(48.7% 0.163 263.1);
Tailwind
colors: {
  custom: {
    50: '#7a86cf',
    500: '#2b58ba',
    950: '#000000',
  },
}
SCSS
$custom: #2b58ba;
$custom-light: #7a86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58ba",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 221.119,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48666,
    "c": 0.16287,
    "h": 263.1
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#2B58BA
secondary
#CAB077
accent
#B242E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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