#2F529A#2F529A

#2F529A is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.124 H 262.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2F529A
RGBrgb(47, 82, 154)
HSLhsl(220, 53%, 39%)
HSVhsv(220, 69%, 60%)
CMYKcmyk(69.5%, 46.8%, 0%, 39.6%)
CIE-LABlab(35.93, 12.37, -43.12)
CIE-LCHlch(35.93, 44.86, 286.01°)
OKLaboklab(45.18% -0.0154 -0.1234)
OKLCHoklch(45.18% 0.124 262.9)
XYZxyz(10.0203, 8.9710, 31.7691)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F529A #9A772F
analogous
#2F889A #2F529A #422F9A
triadic
#2F529A #9A2F52 #529A2F
tetradic
#2F529A #9A2F88 #9A772F #2F9A42
square
#2F529A #9A2F88 #9A772F #2F9A42
split-complementary
#2F529A #9A422F #889A2F
monochromatic
#12203C #21396B #2F529A #416CC5 #7091D3

Accessibility & contrast

On white

7.52
#2F529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2F529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F529A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F529A#FFFFFF#000000##FFFFFF
##2F529A1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9D
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f529a;
/* rgb */ color: rgb(47, 82, 154);
/* oklch */ color: oklch(45.2% 0.124 262.9);
Tailwind
colors: {
  custom: {
    50: '#7482b8',
    500: '#2f529a',
    950: '#000000',
  },
}
SCSS
$custom: #2f529a;
$custom-light: #7482b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f529a",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 220.374,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.12437,
    "h": 262.9
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#2F529A
secondary
#BBA06A
accent
#AD4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F529A

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

Preview Lab → · Contrast checker → · Palette generator →

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