#2B56A2#2B56A2

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

Color values

HEX#2B56A2
RGBrgb(43, 86, 162)
HSLhsl(218, 58%, 40%)
HSVhsv(218, 73%, 64%)
CMYKcmyk(73.5%, 46.9%, 0%, 36.5%)
CIE-LABlab(37.44, 12.16, -45.51)
CIE-LCHlch(37.44, 47.10, 284.96°)
OKLaboklab(46.46% -0.021 -0.1304)
OKLCHoklch(46.46% 0.132 260.8)
XYZxyz(10.8433, 9.7766, 35.4910)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56A2 #A2772B
analogous
#2B92A2 #2B56A2 #3B2BA2
triadic
#2B56A2 #A22B56 #56A22B
tetradic
#2B56A2 #A22B92 #A2772B #2BA23B
square
#2B56A2 #A22B92 #A2772B #2BA23B
split-complementary
#2B56A2 #A23B2B #92A22B
monochromatic
#112341 #1E3C72 #2B56A2 #3E71CC #6F95D9

Accessibility & contrast

On white

7.11
#2B56A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B56A2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56A2#FFFFFF#000000##FFFFFF
##2B56A21.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#1353A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b56a2;
/* rgb */ color: rgb(43, 86, 162);
/* oklch */ color: oklch(46.5% 0.132 260.8);
Tailwind
colors: {
  custom: {
    50: '#7485be',
    500: '#2b56a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b56a2;
$custom-light: #7485be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56a2",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 218.319,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.13213,
    "h": 260.8
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#2B56A2
secondary
#C0A069
accent
#A947E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B56A2

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

Preview Lab → · Contrast checker → · Palette generator →

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