#2B58A6#2B58A6

#2B58A6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.135 H 260.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2B58A6
RGBrgb(43, 88, 166)
HSLhsl(218, 59%, 41%)
HSVhsv(218, 74%, 65%)
CMYKcmyk(74.1%, 47%, 0%, 34.9%)
CIE-LABlab(38.28, 12.38, -46.54)
CIE-LCHlch(38.28, 48.16, 284.89°)
OKLaboklab(47.19% -0.0222 -0.1335)
OKLCHoklch(47.19% 0.135 260.6)
XYZxyz(11.3664, 10.2450, 37.4474)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58A6 #A6792B
analogous
#2B95A6 #2B58A6 #3B2BA6
triadic
#2B58A6 #A62B58 #58A62B
tetradic
#2B58A6 #A62B95 #A6792B #2BA63B
square
#2B58A6 #A62B95 #A6792B #2BA63B
split-complementary
#2B58A6 #A63B2B #95A62B
monochromatic
#122445 #1E3E75 #2B58A6 #4174CE #7198DA

Accessibility & contrast

On white

6.89
#2B58A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B58A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58A6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58A6#FFFFFF#000000##FFFFFF
##2B58A61.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A9
Deuteranopia (green-blind)
#1255A4
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b58a6;
/* rgb */ color: rgb(43, 88, 166);
/* oklch */ color: oklch(47.2% 0.135 260.6);
Tailwind
colors: {
  custom: {
    50: '#7586c1',
    500: '#2b58a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b58a6;
$custom-light: #7586c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58a6",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 166
  },
  "hsl": {
    "h": 218.049,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47188,
    "c": 0.13528,
    "h": 260.6
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#2B58A6
secondary
#C1A26B
accent
#A946E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B58A6

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

Preview Lab → · Contrast checker → · Palette generator →

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