#2B5494#2B5494

#2B5494 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.115 H 259.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2B5494
RGBrgb(43, 84, 148)
HSLhsl(217, 55%, 37%)
HSVhsv(217, 71%, 58%)
CMYKcmyk(70.9%, 43.2%, 0%, 42%)
CIE-LABlab(35.97, 8.12, -39.44)
CIE-LCHlch(35.97, 40.27, 281.64°)
OKLaboklab(45.04% -0.0218 -0.1126)
OKLCHoklch(45.04% 0.115 259)
XYZxyz(9.5100, 8.9914, 29.2456)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5494 #946B2B
analogous
#2B8994 #2B5494 #362B94
triadic
#2B5494 #942B54 #54942B
tetradic
#2B5494 #942B89 #946B2B #2B9436
square
#2B5494 #942B89 #946B2B #2B9436
split-complementary
#2B5494 #94362B #89942B
monochromatic
#0F1E35 #1D3965 #2B5494 #396FC3 #6791D3

Accessibility & contrast

On white

7.50
#2B5494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2B5494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5494
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5494#FFFFFF#000000##FFFFFF
##2B54941.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b5494;
/* rgb */ color: rgb(43, 84, 148);
/* oklch */ color: oklch(45.0% 0.115 259.0);
Tailwind
colors: {
  custom: {
    50: '#7183b4',
    500: '#2b5494',
    950: '#000000',
  },
}
SCSS
$custom: #2b5494;
$custom-light: #7183b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5494",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 216.571,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4504,
    "c": 0.11475,
    "h": 259
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#2B5494
secondary
#B99762
accent
#A449DE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B5494

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

Preview Lab → · Contrast checker → · Palette generator →

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