#2F528F#2F528F

#2F528F is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.108 H 260.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2F528F
RGBrgb(47, 82, 143)
HSLhsl(218, 51%, 37%)
HSVhsv(218, 67%, 56%)
CMYKcmyk(67.1%, 42.7%, 0%, 43.9%)
CIE-LABlab(35.24, 8.24, -37.55)
CIE-LCHlch(35.24, 38.44, 282.38°)
OKLaboklab(44.43% -0.0175 -0.1071)
OKLCHoklch(44.43% 0.108 260.7)
XYZxyz(9.1458, 8.6212, 27.1634)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F528F #8F6C2F
analogous
#2F828F #2F528F #3C2F8F
triadic
#2F528F #8F2F52 #528F2F
tetradic
#2F528F #8F2F82 #8F6C2F #2F8F3C
square
#2F528F #8F2F82 #8F6C2F #2F8F3C
split-complementary
#2F528F #8F3C2F #828F2F
monochromatic
#111D33 #203861 #2F528F #3E6CBD #6A8FCE

Accessibility & contrast

On white

7.71
#2F528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F528F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F528F#FFFFFF#000000##FFFFFF
##2F528F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f528f;
/* rgb */ color: rgb(47, 82, 143);
/* oklch */ color: oklch(44.4% 0.108 260.7);
Tailwind
colors: {
  custom: {
    50: '#7282b0',
    500: '#2f528f',
    950: '#000000',
  },
}
SCSS
$custom: #2f528f;
$custom-light: #7282b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f528f",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 218.125,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.10848,
    "h": 260.7
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#2F528F
secondary
#B59865
accent
#A74EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2F528F

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

Preview Lab → · Contrast checker → · Palette generator →

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