#2B56A3#2B56A3

#2B56A3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.134 H 261.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2B56A3
RGBrgb(43, 86, 163)
HSLhsl(219, 58%, 40%)
HSVhsv(219, 74%, 64%)
CMYKcmyk(73.6%, 47.2%, 0%, 36.1%)
CIE-LABlab(37.50, 12.54, -46.00)
CIE-LCHlch(37.50, 47.68, 285.25°)
OKLaboklab(46.53% -0.0209 -0.1319)
OKLCHoklch(46.53% 0.134 261)
XYZxyz(10.9325, 9.8123, 35.9610)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56A3 #A3782B
analogous
#2B92A3 #2B56A3 #3C2BA3
triadic
#2B56A3 #A32B56 #56A32B
tetradic
#2B56A3 #A32B92 #A3782B #2BA33C
square
#2B56A3 #A32B92 #A3782B #2BA33C
split-complementary
#2B56A3 #A33C2B #92A32B
monochromatic
#112342 #1E3C73 #2B56A3 #3F72CC #6F95D9

Accessibility & contrast

On white

7.09
#2B56A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2B56A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B56A3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56A3#FFFFFF#000000##FFFFFF
##2B56A31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#1153A1
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b56a3;
/* rgb */ color: rgb(43, 86, 163);
/* oklch */ color: oklch(46.5% 0.134 261.0);
Tailwind
colors: {
  custom: {
    50: '#7485bf',
    500: '#2b56a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b56a3;
$custom-light: #7485bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56a3",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 163
  },
  "hsl": {
    "h": 218.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.13353,
    "h": 261
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#2B56A3
secondary
#C0A16A
accent
#AA46E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B56A3

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

Preview Lab → · Contrast checker → · Palette generator →

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