#2B58B7#2B58B7

#2B58B7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.159 H 262.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2B58B7
RGBrgb(43, 88, 183)
HSLhsl(221, 62%, 44%)
HSVhsv(221, 77%, 72%)
CMYKcmyk(76.5%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.43, 18.90, -54.73)
CIE-LCHlch(39.43, 57.90, 289.05°)
OKLaboklab(48.44% -0.0198 -0.1575)
OKLCHoklch(48.44% 0.159 262.8)
XYZxyz(13.0302, 10.9105, 46.2098)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58B7 #B78A2B
analogous
#2B9EB7 #2B58B7 #442BB7
triadic
#2B58B7 #B72B58 #58B72B
tetradic
#2B58B7 #B72B9E #B78A2B #2BB744
square
#2B58B7 #B72B9E #B78A2B #2BB744
split-complementary
#2B58B7 #B7442B #9EB72B
monochromatic
#142854 #1F4085 #2B58B7 #4B77D5 #7C9CE0

Accessibility & contrast

On white

6.60
#2B58B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B58B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58B7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58B7#FFFFFF#000000##FFFFFF
##2B58B71.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b58b7;
/* rgb */ color: rgb(43, 88, 183);
/* oklch */ color: oklch(48.4% 0.159 262.8);
Tailwind
colors: {
  custom: {
    50: '#7986cd',
    500: '#2b58b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b58b7;
$custom-light: #7986cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58b7",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 220.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.15878,
    "h": 262.8
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#2B58B7
secondary
#C9AE75
accent
#B143E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B58B7

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

Preview Lab → · Contrast checker → · Palette generator →

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