#2B528C#2B528C

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

Color values

HEX#2B528C
RGBrgb(43, 82, 140)
HSLhsl(216, 53%, 36%)
HSVhsv(216, 69%, 55%)
CMYKcmyk(69.3%, 41.4%, 0%, 45.1%)
CIE-LABlab(34.88, 6.40, -36.31)
CIE-LCHlch(34.88, 36.87, 280.00°)
OKLaboklab(44.05% -0.0216 -0.1035)
OKLCHoklch(44.05% 0.106 258.2)
XYZxyz(8.7455, 8.4407, 25.9742)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B528C #8C652B
analogous
#2B828C #2B528C #342B8C
triadic
#2B528C #8C2B52 #528C2B
tetradic
#2B528C #8C2B82 #8C652B #2B8C34
square
#2B528C #8C2B82 #8C652B #2B8C34
split-complementary
#2B528C #8C342B #828C2B
monochromatic
#0E1B2E #1D375D #2B528C #396DBB #628ECF

Accessibility & contrast

On white

7.81
#2B528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B528C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B528C#FFFFFF#000000##FFFFFF
##2B528C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b528c;
/* rgb */ color: rgb(43, 82, 140);
/* oklch */ color: oklch(44.0% 0.106 258.2);
Tailwind
colors: {
  custom: {
    50: '#7082ae',
    500: '#2b528c',
    950: '#000000',
  },
}
SCSS
$custom: #2b528c;
$custom-light: #7082ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b528c",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 215.876,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44045,
    "c": 0.1057,
    "h": 258.2
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#2B528C
secondary
#B5925E
accent
#A24BDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B528C

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

Preview Lab → · Contrast checker → · Palette generator →

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