#2F529F#2F529F

#2F529F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.132 H 263.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2F529F
RGBrgb(47, 82, 159)
HSLhsl(221, 54%, 40%)
HSVhsv(221, 70%, 62%)
CMYKcmyk(70.4%, 48.4%, 0%, 37.6%)
CIE-LABlab(36.25, 14.26, -45.60)
CIE-LCHlch(36.25, 47.78, 287.37°)
OKLaboklab(45.53% -0.0146 -0.1307)
OKLCHoklch(45.53% 0.132 263.6)
XYZxyz(10.4454, 9.1411, 34.0081)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F529F #9F7C2F
analogous
#2F8A9F #2F529F #442F9F
triadic
#2F529F #9F2F52 #529F2F
tetradic
#2F529F #9F2F8A #9F7C2F #2F9F44
square
#2F529F #9F2F8A #9F7C2F #2F9F44
split-complementary
#2F529F #9F442F #8A9F2F
monochromatic
#132141 #213A70 #2F529F #446DC8 #7392D6

Accessibility & contrast

On white

7.42
#2F529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2F529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F529F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F529F#FFFFFF#000000##FFFFFF
##2F529F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f529f;
/* rgb */ color: rgb(47, 82, 159);
/* oklch */ color: oklch(45.5% 0.132 263.6);
Tailwind
colors: {
  custom: {
    50: '#7582bc',
    500: '#2f529f',
    950: '#000000',
  },
}
SCSS
$custom: #2f529f;
$custom-light: #7582bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f529f",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 221.25,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.13153,
    "h": 263.6
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#2F529F
secondary
#BDA46D
accent
#B04ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F529F

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

Preview Lab → · Contrast checker → · Palette generator →

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