#2B5491#2B5491

#2B5491 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.110 H 258.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2B5491
RGBrgb(43, 84, 145)
HSLhsl(216, 54%, 37%)
HSVhsv(216, 70%, 57%)
CMYKcmyk(70.3%, 42.1%, 0%, 43.1%)
CIE-LABlab(35.79, 6.98, -37.91)
CIE-LCHlch(35.79, 38.55, 280.44°)
OKLaboklab(44.84% -0.0225 -0.1082)
OKLCHoklch(44.84% 0.11 258.3)
XYZxyz(9.2756, 8.8976, 28.0112)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5491 #91682B
analogous
#2B8791 #2B5491 #352B91
triadic
#2B5491 #912B54 #54912B
tetradic
#2B5491 #912B87 #91682B #2B9135
square
#2B5491 #912B87 #91682B #2B9135
split-complementary
#2B5491 #91352B #87912B
monochromatic
#0F1D33 #1D3962 #2B5491 #396FC0 #6591D1

Accessibility & contrast

On white

7.55
#2B5491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2B5491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5491
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5491#FFFFFF#000000##FFFFFF
##2B54911.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385993
Deuteranopia (green-blind)
#275090
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b5491;
/* rgb */ color: rgb(43, 84, 145);
/* oklch */ color: oklch(44.8% 0.110 258.3);
Tailwind
colors: {
  custom: {
    50: '#7183b1',
    500: '#2b5491',
    950: '#000000',
  },
}
SCSS
$custom: #2b5491;
$custom-light: #7183b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5491",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 215.882,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.11047,
    "h": 258.3
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#2B5491
secondary
#B89460
accent
#A24ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2B5491

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

Preview Lab → · Contrast checker → · Palette generator →

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