#2B58A3#2B58A3

#2B58A3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.131 H 260.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2B58A3
RGBrgb(43, 88, 163)
HSLhsl(218, 58%, 40%)
HSVhsv(218, 74%, 64%)
CMYKcmyk(73.6%, 46%, 0%, 36.1%)
CIE-LABlab(38.09, 11.23, -45.06)
CIE-LCHlch(38.09, 46.44, 283.99°)
OKLaboklab(46.98% -0.0227 -0.1291)
OKLCHoklch(46.98% 0.131 260)
XYZxyz(11.0945, 10.1362, 36.0150)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58A3 #A3762B
analogous
#2B94A3 #2B58A3 #3A2BA3
triadic
#2B58A3 #A32B58 #58A32B
tetradic
#2B58A3 #A32B94 #A3762B #2BA33A
square
#2B58A3 #A32B94 #A3762B #2BA33A
split-complementary
#2B58A3 #A33A2B #94A32B
monochromatic
#112442 #1E3E73 #2B58A3 #3F74CC #6F97D9

Accessibility & contrast

On white

6.94
#2B58A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B58A3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58A3#FFFFFF#000000##FFFFFF
##2B58A31.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#1855A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b58a3;
/* rgb */ color: rgb(43, 88, 163);
/* oklch */ color: oklch(47.0% 0.131 260.0);
Tailwind
colors: {
  custom: {
    50: '#7486bf',
    500: '#2b58a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b58a3;
$custom-light: #7486bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58a3",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 163
  },
  "hsl": {
    "h": 217.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.13108,
    "h": 260
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#2B58A3
secondary
#C0A06A
accent
#A746E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B58A3

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

Preview Lab → · Contrast checker → · Palette generator →

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