#2F528D#2F528D

#2F528D is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.106 H 260.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2F528D
RGBrgb(47, 82, 141)
HSLhsl(218, 50%, 37%)
HSVhsv(218, 67%, 55%)
CMYKcmyk(66.7%, 41.8%, 0%, 44.7%)
CIE-LABlab(35.13, 7.49, -36.52)
CIE-LCHlch(35.13, 37.28, 281.59°)
OKLaboklab(44.3% -0.0179 -0.104)
OKLCHoklch(44.3% 0.106 260.2)
XYZxyz(8.9956, 8.5611, 26.3725)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F528D #8D6A2F
analogous
#2F818D #2F528D #3B2F8D
triadic
#2F528D #8D2F52 #528D2F
tetradic
#2F528D #8D2F81 #8D6A2F #2F8D3B
square
#2F528D #8D2F81 #8D6A2F #2F8D3B
split-complementary
#2F528D #8D3B2F #818D2F
monochromatic
#101D31 #20375F #2F528D #3E6DBB #698ECD

Accessibility & contrast

On white

7.74
#2F528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F528D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F528D#FFFFFF#000000##FFFFFF
##2F528D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f528d;
/* rgb */ color: rgb(47, 82, 141);
/* oklch */ color: oklch(44.3% 0.106 260.2);
Tailwind
colors: {
  custom: {
    50: '#7282af',
    500: '#2f528d',
    950: '#000000',
  },
}
SCSS
$custom: #2f528d;
$custom-light: #7282af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f528d",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 217.66,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.10557,
    "h": 260.2
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#2F528D
secondary
#B49664
accent
#A64EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F528D

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

Preview Lab → · Contrast checker → · Palette generator →

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