#2B58AC#2B58AC

#2B58AC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.144 H 261.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2B58AC
RGBrgb(43, 88, 172)
HSLhsl(219, 60%, 42%)
HSVhsv(219, 75%, 67%)
CMYKcmyk(75%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.67, 14.68, -49.47)
CIE-LCHlch(38.67, 51.60, 286.53°)
OKLaboklab(47.62% -0.0212 -0.1421)
OKLCHoklch(47.62% 0.144 261.5)
XYZxyz(11.9297, 10.4703, 40.4140)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58AC #AC7F2B
analogous
#2B98AC #2B58AC #3F2BAC
triadic
#2B58AC #AC2B58 #58AC2B
tetradic
#2B58AC #AC2B98 #AC7F2B #2BAC3F
square
#2B58AC #AC2B98 #AC7F2B #2BAC3F
split-complementary
#2B58AC #AC3F2B #98AC2B
monochromatic
#13264A #1F3F7B #2B58AC #4475D0 #7599DC

Accessibility & contrast

On white

6.79
#2B58AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2B58AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58AC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58AC#FFFFFF#000000##FFFFFF
##2B58AC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b58ac;
/* rgb */ color: rgb(43, 88, 172);
/* oklch */ color: oklch(47.6% 0.144 261.5);
Tailwind
colors: {
  custom: {
    50: '#7686c5',
    500: '#2b58ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b58ac;
$custom-light: #7686c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58ac",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 219.07,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47618,
    "c": 0.14364,
    "h": 261.5
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#2B58AC
secondary
#C4A66F
accent
#AC45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B58AC

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

Preview Lab → · Contrast checker → · Palette generator →

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