#2F528A#2F528A

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

Color values

HEX#2F528A
RGBrgb(47, 82, 138)
HSLhsl(217, 49%, 36%)
HSVhsv(217, 66%, 54%)
CMYKcmyk(65.9%, 40.6%, 0%, 45.9%)
CIE-LABlab(34.95, 6.38, -34.97)
CIE-LCHlch(34.95, 35.55, 280.33°)
OKLaboklab(44.11% -0.0186 -0.0995)
OKLCHoklch(44.11% 0.101 259.4)
XYZxyz(8.7754, 8.4731, 25.2128)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F528A #8A672F
analogous
#2F808A #2F528A #3A2F8A
triadic
#2F528A #8A2F52 #528A2F
tetradic
#2F528A #8A2F80 #8A672F #2F8A3A
square
#2F528A #8A2F80 #8A672F #2F8A3A
split-complementary
#2F528A #8A3A2F #808A2F
monochromatic
#101C2F #1F375C #2F528A #3F6DB8 #688ECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F528A#FFFFFF#000000##FFFFFF
##2F528A1.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)
#39578C
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f528a;
/* rgb */ color: rgb(47, 82, 138);
/* oklch */ color: oklch(44.1% 0.101 259.4);
Tailwind
colors: {
  custom: {
    50: '#7182ac',
    500: '#2f528a',
    950: '#000000',
  },
}
SCSS
$custom: #2f528a;
$custom-light: #7182ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f528a",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 216.923,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.10122,
    "h": 259.4
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#2F528A
secondary
#B39462
accent
#A44FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F528A

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

Preview Lab → · Contrast checker → · Palette generator →

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