#2B528D#2B528D

#2B528D is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.107 H 258.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2B528D
RGBrgb(43, 82, 141)
HSLhsl(216, 53%, 36%)
HSVhsv(216, 70%, 55%)
CMYKcmyk(69.5%, 41.8%, 0%, 44.7%)
CIE-LABlab(34.94, 6.78, -36.82)
CIE-LCHlch(34.94, 37.44, 280.43°)
OKLaboklab(44.11% -0.0213 -0.105)
OKLCHoklch(44.11% 0.107 258.5)
XYZxyz(8.8195, 8.4704, 26.3643)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B528D #8D662B
analogous
#2B838D #2B528D #352B8D
triadic
#2B528D #8D2B52 #528D2B
tetradic
#2B528D #8D2B83 #8D662B #2B8D35
square
#2B528D #8D2B83 #8D662B #2B8D35
split-complementary
#2B528D #8D352B #838D2B
monochromatic
#0E1B2F #1D375E #2B528D #396DBC #638ECF

Accessibility & contrast

On white

7.79
#2B528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B528D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B528D#FFFFFF#000000##FFFFFF
##2B528D1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b528d;
/* rgb */ color: rgb(43, 82, 141);
/* oklch */ color: oklch(44.1% 0.107 258.5);
Tailwind
colors: {
  custom: {
    50: '#7082af',
    500: '#2b528d',
    950: '#000000',
  },
}
SCSS
$custom: #2b528d;
$custom-light: #7082af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b528d",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 216.122,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4411,
    "c": 0.10714,
    "h": 258.5
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#2B528D
secondary
#B6935E
accent
#A34BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B528D

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

Preview Lab → · Contrast checker → · Palette generator →

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