#2B58A4#2B58A4

#2B58A4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.132 H 260.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2B58A4
RGBrgb(43, 88, 164)
HSLhsl(218, 58%, 41%)
HSVhsv(218, 74%, 64%)
CMYKcmyk(73.8%, 46.3%, 0%, 35.7%)
CIE-LABlab(38.15, 11.61, -45.56)
CIE-LCHlch(38.15, 47.01, 284.30°)
OKLaboklab(47.05% -0.0225 -0.1305)
OKLCHoklch(47.05% 0.132 260.2)
XYZxyz(11.1844, 10.1722, 36.4887)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58A4 #A4772B
analogous
#2B94A4 #2B58A4 #3A2BA4
triadic
#2B58A4 #A42B58 #58A42B
tetradic
#2B58A4 #A42B94 #A4772B #2BA43A
square
#2B58A4 #A42B94 #A4772B #2BA43A
split-complementary
#2B58A4 #A43A2B #94A42B
monochromatic
#122443 #1E3E74 #2B58A4 #3F74CD #7097D9

Accessibility & contrast

On white

6.92
#2B58A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2B58A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58A4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58A4#FFFFFF#000000##FFFFFF
##2B58A41.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#1655A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b58a4;
/* rgb */ color: rgb(43, 88, 164);
/* oklch */ color: oklch(47.0% 0.132 260.2);
Tailwind
colors: {
  custom: {
    50: '#7586bf',
    500: '#2b58a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b58a4;
$custom-light: #7586bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58a4",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 217.686,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.13248,
    "h": 260.2
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#2B58A4
secondary
#C1A06A
accent
#A846E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B58A4

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

Preview Lab → · Contrast checker → · Palette generator →

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