#2B528A#2B528A

#2B528A is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.103 H 257.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2B528A
RGBrgb(43, 82, 138)
HSLhsl(215, 52%, 35%)
HSVhsv(215, 69%, 54%)
CMYKcmyk(68.8%, 40.6%, 0%, 45.9%)
CIE-LABlab(34.77, 5.64, -35.27)
CIE-LCHlch(34.77, 35.72, 279.09°)
OKLaboklab(43.92% -0.022 -0.1004)
OKLCHoklch(43.92% 0.103 257.6)
XYZxyz(8.5993, 8.3823, 25.2046)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B528A #8A632B
analogous
#2B818A #2B528A #332B8A
triadic
#2B528A #8A2B52 #528A2B
tetradic
#2B528A #8A2B81 #8A632B #2B8A33
square
#2B528A #8A2B81 #8A632B #2B8A33
split-complementary
#2B528A #8A332B #818A2B
monochromatic
#0E1B2D #1C365B #2B528A #3A6EB9 #618ECE

Accessibility & contrast

On white

7.85
#2B528A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B528A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B528A#FFFFFF#000000##FFFFFF
##2B528A1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#2A4E89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b528a;
/* rgb */ color: rgb(43, 82, 138);
/* oklch */ color: oklch(43.9% 0.103 257.6);
Tailwind
colors: {
  custom: {
    50: '#6f82ac',
    500: '#2b528a',
    950: '#000000',
  },
}
SCSS
$custom: #2b528a;
$custom-light: #6f82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b528a",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 215.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43915,
    "c": 0.10283,
    "h": 257.6
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B528A

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

Preview Lab → · Contrast checker → · Palette generator →

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