#2B56A5#2B56A5

#2B56A5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.136 H 261.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2B56A5
RGBrgb(43, 86, 165)
HSLhsl(219, 59%, 41%)
HSVhsv(219, 74%, 65%)
CMYKcmyk(73.9%, 47.9%, 0%, 35.3%)
CIE-LABlab(37.63, 13.31, -46.98)
CIE-LCHlch(37.63, 48.83, 285.82°)
OKLaboklab(46.67% -0.0205 -0.1348)
OKLCHoklch(46.67% 0.136 261.3)
XYZxyz(11.1131, 9.8846, 36.9122)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56A5 #A57A2B
analogous
#2B93A5 #2B56A5 #3D2BA5
triadic
#2B56A5 #A52B56 #56A52B
tetradic
#2B56A5 #A52B93 #A57A2B #2BA53D
square
#2B56A5 #A52B93 #A57A2B #2BA53D
split-complementary
#2B56A5 #A53D2B #93A52B
monochromatic
#122344 #1E3D74 #2B56A5 #4072CD #7196DA

Accessibility & contrast

On white

7.05
#2B56A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2B56A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B56A5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56A5#FFFFFF#000000##FFFFFF
##2B56A51.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA8
Deuteranopia (green-blind)
#0B53A3
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b56a5;
/* rgb */ color: rgb(43, 86, 165);
/* oklch */ color: oklch(46.7% 0.136 261.3);
Tailwind
colors: {
  custom: {
    50: '#7585c0',
    500: '#2b56a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b56a5;
$custom-light: #7585c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56a5",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 218.852,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46673,
    "c": 0.13634,
    "h": 261.3
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#2B56A5
secondary
#C1A36B
accent
#AB46E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B56A5

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

Preview Lab → · Contrast checker → · Palette generator →

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