#2B5296#2B5296

#2B5296 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.120 H 260.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2B5296
RGBrgb(43, 82, 150)
HSLhsl(218, 55%, 38%)
HSVhsv(218, 71%, 59%)
CMYKcmyk(71.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.50, 10.21, -41.41)
CIE-LCHlch(35.50, 42.65, 283.85°)
OKLaboklab(44.72% -0.0195 -0.1184)
OKLCHoklch(44.72% 0.12 260.7)
XYZxyz(9.5166, 8.7492, 30.0355)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5296 #966F2B
analogous
#2B8796 #2B5296 #3A2B96
triadic
#2B5296 #962B52 #52962B
tetradic
#2B5296 #962B87 #966F2B #2B963A
square
#2B5296 #962B87 #966F2B #2B963A
split-complementary
#2B5296 #963A2B #87962B
monochromatic
#101E37 #1D3866 #2B5296 #396CC6 #688FD4

Accessibility & contrast

On white

7.64
#2B5296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B5296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5296
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5296#FFFFFF#000000##FFFFFF
##2B52961.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305999
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5296;
/* rgb */ color: rgb(43, 82, 150);
/* oklch */ color: oklch(44.7% 0.120 260.7);
Tailwind
colors: {
  custom: {
    50: '#7282b5',
    500: '#2b5296',
    950: '#000000',
  },
}
SCSS
$custom: #2b5296;
$custom-light: #7282b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5296",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 218.131,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44717,
    "c": 0.12004,
    "h": 260.7
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#2B5296
secondary
#BA9A63
accent
#A849DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5296

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

Preview Lab → · Contrast checker → · Palette generator →

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