#2B5096#2B5096

#2B5096 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.123 H 261.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2B5096
RGBrgb(43, 80, 150)
HSLhsl(219, 55%, 38%)
HSVhsv(219, 71%, 59%)
CMYKcmyk(71.3%, 46.7%, 0%, 41.2%)
CIE-LABlab(34.91, 11.53, -42.35)
CIE-LCHlch(34.91, 43.89, 285.24°)
OKLaboklab(44.26% -0.0175 -0.1213)
OKLCHoklch(44.26% 0.123 261.8)
XYZxyz(9.3680, 8.4520, 29.9859)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5096 #96712B
analogous
#2B8596 #2B5096 #3B2B96
triadic
#2B5096 #962B50 #50962B
tetradic
#2B5096 #962B85 #96712B #2B963B
square
#2B5096 #962B85 #96712B #2B963B
split-complementary
#2B5096 #963B2B #85962B
monochromatic
#101D37 #1D3766 #2B5096 #3969C6 #688DD4

Accessibility & contrast

On white

7.80
#2B5096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B5096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5096
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5096#FFFFFF#000000##FFFFFF
##2B50961.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#174D95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5096;
/* rgb */ color: rgb(43, 80, 150);
/* oklch */ color: oklch(44.3% 0.123 261.8);
Tailwind
colors: {
  custom: {
    50: '#7280b5',
    500: '#2b5096',
    950: '#000000',
  },
}
SCSS
$custom: #2b5096;
$custom-light: #7280b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5096",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 219.252,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44262,
    "c": 0.12252,
    "h": 261.8
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#2B5096
secondary
#BA9C63
accent
#AB49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5096

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

Preview Lab → · Contrast checker → · Palette generator →

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