#2B5097#2B5097

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

Color values

HEX#2B5097
RGBrgb(43, 80, 151)
HSLhsl(219, 56%, 38%)
HSVhsv(219, 72%, 59%)
CMYKcmyk(71.5%, 47%, 0%, 40.8%)
CIE-LABlab(34.97, 11.92, -42.85)
CIE-LCHlch(34.97, 44.48, 285.54°)
OKLaboklab(44.33% -0.0174 -0.1227)
OKLCHoklch(44.33% 0.124 261.9)
XYZxyz(9.4488, 8.4843, 30.4118)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5097 #97722B
analogous
#2B8697 #2B5097 #3C2B97
triadic
#2B5097 #972B50 #50972B
tetradic
#2B5097 #972B86 #97722B #2B973C
square
#2B5097 #972B86 #97722B #2B973C
split-complementary
#2B5097 #973C2B #86972B
monochromatic
#101E38 #1D3767 #2B5097 #3969C7 #688DD4

Accessibility & contrast

On white

7.79
#2B5097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2B5097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5097
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5097#FFFFFF#000000##FFFFFF
##2B50971.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5097;
/* rgb */ color: rgb(43, 80, 151);
/* oklch */ color: oklch(44.3% 0.124 261.9);
Tailwind
colors: {
  custom: {
    50: '#7280b6',
    500: '#2b5097',
    950: '#000000',
  },
}
SCSS
$custom: #2b5097;
$custom-light: #7280b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5097",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 219.444,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.12396,
    "h": 261.9
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#2B5097
secondary
#BB9D63
accent
#AC49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5097

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

Preview Lab → · Contrast checker → · Palette generator →

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