#2F528C#2F528C

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

Color values

HEX#2F528C
RGBrgb(47, 82, 140)
HSLhsl(217, 50%, 37%)
HSVhsv(217, 66%, 55%)
CMYKcmyk(66.4%, 41.4%, 0%, 45.1%)
CIE-LABlab(35.07, 7.12, -36.01)
CIE-LCHlch(35.07, 36.70, 281.18°)
OKLaboklab(44.24% -0.0181 -0.1025)
OKLCHoklch(44.24% 0.104 260)
XYZxyz(8.9215, 8.5315, 25.9824)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F528C #8C692F
analogous
#2F818C #2F528C #3A2F8C
triadic
#2F528C #8C2F52 #528C2F
tetradic
#2F528C #8C2F81 #8C692F #2F8C3A
square
#2F528C #8C2F81 #8C692F #2F8C3A
split-complementary
#2F528C #8C3A2F #818C2F
monochromatic
#101C30 #20375E #2F528C #3E6DBA #698ECD

Accessibility & contrast

On white

7.76
#2F528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2F528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F528C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F528C#FFFFFF#000000##FFFFFF
##2F528C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f528c;
/* rgb */ color: rgb(47, 82, 140);
/* oklch */ color: oklch(44.2% 0.104 260.0);
Tailwind
colors: {
  custom: {
    50: '#7282ae',
    500: '#2f528c',
    950: '#000000',
  },
}
SCSS
$custom: #2f528c;
$custom-light: #7282ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f528c",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 217.419,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44236,
    "c": 0.10412,
    "h": 260
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#2F528C
secondary
#B49563
accent
#A54FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F528C

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

Preview Lab → · Contrast checker → · Palette generator →

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