#2B528B#2B528B

#2B528B is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.104 H 257.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2B528B
RGBrgb(43, 82, 139)
HSLhsl(216, 53%, 36%)
HSVhsv(216, 69%, 55%)
CMYKcmyk(69.1%, 41%, 0%, 45.5%)
CIE-LABlab(34.83, 6.02, -35.79)
CIE-LCHlch(34.83, 36.29, 279.55°)
OKLaboklab(43.98% -0.0218 -0.102)
OKLCHoklch(43.98% 0.104 257.9)
XYZxyz(8.6721, 8.4114, 25.5876)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B528B #8B642B
analogous
#2B828B #2B528B #342B8B
triadic
#2B528B #8B2B52 #528B2B
tetradic
#2B528B #8B2B82 #8B642B #2B8B34
square
#2B528B #8B2B82 #8B642B #2B8B34
split-complementary
#2B528B #8B342B #828B2B
monochromatic
#0E1B2E #1D365C #2B528B #396EBA #628ECE

Accessibility & contrast

On white

7.83
#2B528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2B528B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B528B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B528B#FFFFFF#000000##FFFFFF
##2B528B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578D
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b528b;
/* rgb */ color: rgb(43, 82, 139);
/* oklch */ color: oklch(44.0% 0.104 257.9);
Tailwind
colors: {
  custom: {
    50: '#7082ad',
    500: '#2b528b',
    950: '#000000',
  },
}
SCSS
$custom: #2b528b;
$custom-light: #7082ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b528b",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 215.625,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4398,
    "c": 0.10426,
    "h": 257.9
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#2B528B
secondary
#B5915D
accent
#A14CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B528B

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

Preview Lab → · Contrast checker → · Palette generator →

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