#2B528F#2B528F

#2B528F is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.110 H 259.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2B528F
RGBrgb(43, 82, 143)
HSLhsl(217, 54%, 36%)
HSVhsv(217, 70%, 56%)
CMYKcmyk(69.9%, 42.7%, 0%, 43.9%)
CIE-LABlab(35.06, 7.54, -37.85)
CIE-LCHlch(35.06, 38.59, 281.26°)
OKLaboklab(44.24% -0.0209 -0.108)
OKLCHoklch(44.24% 0.11 259.1)
XYZxyz(8.9697, 8.5304, 27.1551)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B528F #8F682B
analogous
#2B848F #2B528F #362B8F
triadic
#2B528F #8F2B52 #528F2B
tetradic
#2B528F #8F2B84 #8F682B #2B8F36
square
#2B528F #8F2B84 #8F682B #2B8F36
split-complementary
#2B528F #8F362B #848F2B
monochromatic
#0F1C31 #1D3760 #2B528F #396DBE #648ED0

Accessibility & contrast

On white

7.76
#2B528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B528F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B528F#FFFFFF#000000##FFFFFF
##2B528F1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b528f;
/* rgb */ color: rgb(43, 82, 143);
/* oklch */ color: oklch(44.2% 0.110 259.1);
Tailwind
colors: {
  custom: {
    50: '#7082b0',
    500: '#2b528f',
    950: '#000000',
  },
}
SCSS
$custom: #2b528f;
$custom-light: #7082b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b528f",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 216.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44242,
    "c": 0.11,
    "h": 259.1
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#2B528F
secondary
#B7955F
accent
#A44BDD
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B528F

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

Preview Lab → · Contrast checker → · Palette generator →

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