#2F529E#2F529E

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

Color values

HEX#2F529E
RGBrgb(47, 82, 158)
HSLhsl(221, 54%, 40%)
HSVhsv(221, 70%, 62%)
CMYKcmyk(70.3%, 48.1%, 0%, 38%)
CIE-LABlab(36.19, 13.88, -45.11)
CIE-LCHlch(36.19, 47.20, 287.11°)
OKLaboklab(45.46% -0.0147 -0.1293)
OKLCHoklch(45.46% 0.13 263.5)
XYZxyz(10.3590, 9.1065, 33.5529)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F529E #9E7B2F
analogous
#2F899E #2F529E #432F9E
triadic
#2F529E #9E2F52 #529E2F
tetradic
#2F529E #9E2F89 #9E7B2F #2F9E43
square
#2F529E #9E2F89 #9E7B2F #2F9E43
split-complementary
#2F529E #9E432F #899E2F
monochromatic
#132140 #213A6F #2F529E #436DC7 #7291D5

Accessibility & contrast

On white

7.44
#2F529E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2F529E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F529E
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F529E#FFFFFF#000000##FFFFFF
##2F529E1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f529e;
/* rgb */ color: rgb(47, 82, 158);
/* oklch */ color: oklch(45.5% 0.130 263.5);
Tailwind
colors: {
  custom: {
    50: '#7582bb',
    500: '#2f529e',
    950: '#000000',
  },
}
SCSS
$custom: #2f529e;
$custom-light: #7582bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f529e",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 221.081,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45463,
    "c": 0.13011,
    "h": 263.5
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#2F529E
secondary
#BDA36C
accent
#AF4ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F529E

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

Preview Lab → · Contrast checker → · Palette generator →

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