#2F528B#2F528B

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

Color values

HEX#2F528B
RGBrgb(47, 82, 139)
HSLhsl(217, 49%, 36%)
HSVhsv(217, 66%, 55%)
CMYKcmyk(66.2%, 41%, 0%, 45.5%)
CIE-LABlab(35.01, 6.75, -35.49)
CIE-LCHlch(35.01, 36.13, 280.76°)
OKLaboklab(44.17% -0.0184 -0.101)
OKLCHoklch(44.17% 0.103 259.7)
XYZxyz(8.8481, 8.5022, 25.5959)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F528B #8B682F
analogous
#2F808B #2F528B #3A2F8B
triadic
#2F528B #8B2F52 #528B2F
tetradic
#2F528B #8B2F80 #8B682F #2F8B3A
square
#2F528B #8B2F80 #8B682F #2F8B3A
split-complementary
#2F528B #8B3A2F #808B2F
monochromatic
#101C30 #20375D #2F528B #3E6DB9 #688ECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F528B#FFFFFF#000000##FFFFFF
##2F528B1.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)
#39578D
Deuteranopia (green-blind)
#2B4E8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f528b;
/* rgb */ color: rgb(47, 82, 139);
/* oklch */ color: oklch(44.2% 0.103 259.7);
Tailwind
colors: {
  custom: {
    50: '#7182ad',
    500: '#2f528b',
    950: '#000000',
  },
}
SCSS
$custom: #2f528b;
$custom-light: #7182ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f528b",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 217.174,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44171,
    "c": 0.10267,
    "h": 259.7
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F528B

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

Preview Lab → · Contrast checker → · Palette generator →

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