#2B58B2#2B58B2

#2B58B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.152 H 262.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2B58B2
RGBrgb(43, 88, 178)
HSLhsl(220, 61%, 43%)
HSVhsv(220, 76%, 70%)
CMYKcmyk(75.8%, 50.6%, 0%, 30.2%)
CIE-LABlab(39.08, 16.98, -52.35)
CIE-LCHlch(39.08, 55.04, 287.97°)
OKLaboklab(48.06% -0.0204 -0.1505)
OKLCHoklch(48.06% 0.152 262.3)
XYZxyz(12.5190, 10.7060, 43.5175)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58B2 #B2852B
analogous
#2B9BB2 #2B58B2 #412BB2
triadic
#2B58B2 #B22B58 #58B22B
tetradic
#2B58B2 #B22B9B #B2852B #2BB241
square
#2B58B2 #B22B9B #B2852B #2BB241
split-complementary
#2B58B2 #B2412B #9BB22B
monochromatic
#13274F #1F4081 #2B58B2 #4876D3 #799BDF

Accessibility & contrast

On white

6.68
#2B58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2B58B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58B2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58B2#FFFFFF#000000##FFFFFF
##2B58B21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b58b2;
/* rgb */ color: rgb(43, 88, 178);
/* oklch */ color: oklch(48.1% 0.152 262.3);
Tailwind
colors: {
  custom: {
    50: '#7886ca',
    500: '#2b58b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b58b2;
$custom-light: #7886ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58b2",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 220,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4806,
    "c": 0.15192,
    "h": 262.3
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#2B58B2
secondary
#C7AA72
accent
#AF44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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