#2F529B#2F529B

#2F529B is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.126 H 263.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2F529B
RGBrgb(47, 82, 155)
HSLhsl(221, 53%, 40%)
HSVhsv(221, 70%, 61%)
CMYKcmyk(69.7%, 47.1%, 0%, 39.2%)
CIE-LABlab(35.99, 12.75, -43.62)
CIE-LCHlch(35.99, 45.44, 286.29°)
OKLaboklab(45.25% -0.0152 -0.1249)
OKLCHoklch(45.25% 0.126 263.1)
XYZxyz(10.1039, 9.0045, 32.2095)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F529B #9B782F
analogous
#2F889B #2F529B #422F9B
triadic
#2F529B #9B2F52 #529B2F
tetradic
#2F529B #9B2F88 #9B782F #2F9B42
square
#2F529B #9B2F88 #9B782F #2F9B42
split-complementary
#2F529B #9B422F #889B2F
monochromatic
#13203D #21396C #2F529B #426CC6 #7191D4

Accessibility & contrast

On white

7.50
#2F529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F529B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F529B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F529B#FFFFFF#000000##FFFFFF
##2F529B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#17509A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f529b;
/* rgb */ color: rgb(47, 82, 155);
/* oklch */ color: oklch(45.3% 0.126 263.1);
Tailwind
colors: {
  custom: {
    50: '#7582b9',
    500: '#2f529b',
    950: '#000000',
  },
}
SCSS
$custom: #2f529b;
$custom-light: #7582b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f529b",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 220.556,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4525,
    "c": 0.1258,
    "h": 263.1
  },
  "luminance": 0.09005
}

Semantic roles & 50–950 ramp

primary
#2F529B
secondary
#BBA16A
accent
#AE4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F529B

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

Preview Lab → · Contrast checker → · Palette generator →

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