#2B56B2#2B56B2

#2B56B2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.154 H 263.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2B56B2
RGBrgb(43, 86, 178)
HSLhsl(221, 61%, 43%)
HSVhsv(221, 76%, 70%)
CMYKcmyk(75.8%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.52, 18.30, -53.26)
CIE-LCHlch(38.52, 56.32, 288.96°)
OKLaboklab(47.63% -0.0188 -0.1533)
OKLCHoklch(47.63% 0.154 263)
XYZxyz(12.3571, 10.3821, 43.4635)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56B2 #B2872B
analogous
#2B99B2 #2B56B2 #432BB2
triadic
#2B56B2 #B22B56 #56B22B
tetradic
#2B56B2 #B22B99 #B2872B #2BB243
square
#2B56B2 #B22B99 #B2872B #2BB243
split-complementary
#2B56B2 #B2432B #99B22B
monochromatic
#13264F #1F3E81 #2B56B2 #4874D3 #7999DF

Accessibility & contrast

On white

6.83
#2B56B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2B56B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B56B2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56B2#FFFFFF#000000##FFFFFF
##2B56B21.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b56b2;
/* rgb */ color: rgb(43, 86, 178);
/* oklch */ color: oklch(47.6% 0.154 263.0);
Tailwind
colors: {
  custom: {
    50: '#7885ca',
    500: '#2b56b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b56b2;
$custom-light: #7885ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56b2",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 220.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.15441,
    "h": 263
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#2B56B2
secondary
#C7AC72
accent
#B144E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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