#2B5292#2B5292

#2B5292 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.114 H 259.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2B5292
RGBrgb(43, 82, 146)
HSLhsl(217, 54%, 37%)
HSVhsv(217, 71%, 57%)
CMYKcmyk(70.5%, 43.8%, 0%, 42.7%)
CIE-LABlab(35.25, 8.68, -39.38)
CIE-LCHlch(35.25, 40.33, 282.43°)
OKLaboklab(44.44% -0.0202 -0.1125)
OKLCHoklch(44.44% 0.114 259.8)
XYZxyz(9.2000, 8.6226, 28.3680)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5292 #926B2B
analogous
#2B8592 #2B5292 #382B92
triadic
#2B5292 #922B52 #52922B
tetradic
#2B5292 #922B85 #926B2B #2B9238
square
#2B5292 #922B85 #926B2B #2B9238
split-complementary
#2B5292 #92382B #85922B
monochromatic
#0F1D33 #1D3763 #2B5292 #396DC1 #668FD2

Accessibility & contrast

On white

7.71
#2B5292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B5292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5292
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5292#FFFFFF#000000##FFFFFF
##2B52921.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335894
Deuteranopia (green-blind)
#224E91
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5292;
/* rgb */ color: rgb(43, 82, 146);
/* oklch */ color: oklch(44.4% 0.114 259.8);
Tailwind
colors: {
  custom: {
    50: '#7182b2',
    500: '#2b5292',
    950: '#000000',
  },
}
SCSS
$custom: #2b5292;
$custom-light: #7182b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5292",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 217.282,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.11431,
    "h": 259.8
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#2B5292
secondary
#B89761
accent
#A64ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2B5292

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

Preview Lab → · Contrast checker → · Palette generator →

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