#2B528E#2B528E

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

Color values

HEX#2B528E
RGBrgb(43, 82, 142)
HSLhsl(216, 54%, 36%)
HSVhsv(216, 70%, 56%)
CMYKcmyk(69.7%, 42.3%, 0%, 44.3%)
CIE-LABlab(35.00, 7.16, -37.34)
CIE-LCHlch(35.00, 38.02, 280.85°)
OKLaboklab(44.18% -0.0211 -0.1065)
OKLCHoklch(44.18% 0.109 258.8)
XYZxyz(8.8943, 8.5003, 26.7579)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B528E #8E672B
analogous
#2B848E #2B528E #362B8E
triadic
#2B528E #8E2B52 #528E2B
tetradic
#2B528E #8E2B84 #8E672B #2B8E36
square
#2B528E #8E2B84 #8E672B #2B8E36
split-complementary
#2B528E #8E362B #848E2B
monochromatic
#0F1C30 #1D375F #2B528E #396DBD #638ED0

Accessibility & contrast

On white

7.78
#2B528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2B528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B528E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B528E#FFFFFF#000000##FFFFFF
##2B528E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b528e;
/* rgb */ color: rgb(43, 82, 142);
/* oklch */ color: oklch(44.2% 0.109 258.8);
Tailwind
colors: {
  custom: {
    50: '#7082af',
    500: '#2b528e',
    950: '#000000',
  },
}
SCSS
$custom: #2b528e;
$custom-light: #7082af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b528e",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 216.364,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44176,
    "c": 0.10857,
    "h": 258.8
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B528E

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

Preview Lab → · Contrast checker → · Palette generator →

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