#2B5696#2B5696

#2B5696 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.115 H 258.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2B5696
RGBrgb(43, 86, 150)
HSLhsl(216, 55%, 38%)
HSVhsv(216, 71%, 59%)
CMYKcmyk(71.3%, 42.7%, 0%, 41.2%)
CIE-LABlab(36.69, 7.57, -39.50)
CIE-LCHlch(36.69, 40.22, 280.85°)
OKLaboklab(45.64% -0.0234 -0.1128)
OKLCHoklch(45.64% 0.115 258.3)
XYZxyz(9.8271, 9.3701, 30.1390)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5696 #966B2B
analogous
#2B8B96 #2B5696 #362B96
triadic
#2B5696 #962B56 #56962B
tetradic
#2B5696 #962B8B #966B2B #2B9636
square
#2B5696 #962B8B #966B2B #2B9636
split-complementary
#2B5696 #96362B #8B962B
monochromatic
#101F37 #1D3B66 #2B5696 #3971C6 #6893D4

Accessibility & contrast

On white

7.31
#2B5696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2B5696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5696
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5696#FFFFFF#000000##FFFFFF
##2B56961.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C99
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5696;
/* rgb */ color: rgb(43, 86, 150);
/* oklch */ color: oklch(45.6% 0.115 258.3);
Tailwind
colors: {
  custom: {
    50: '#7285b5',
    500: '#2b5696',
    950: '#000000',
  },
}
SCSS
$custom: #2b5696;
$custom-light: #7285b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5696",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 215.888,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.11519,
    "h": 258.3
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#2B5696
secondary
#BA9763
accent
#A349DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5696

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

Preview Lab → · Contrast checker → · Palette generator →

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