#2F549F#2F549F

#2F549F is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.129 H 262.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2F549F
RGBrgb(47, 84, 159)
HSLhsl(220, 54%, 40%)
HSVhsv(220, 70%, 62%)
CMYKcmyk(70.4%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.83, 12.94, -44.68)
CIE-LCHlch(36.83, 46.51, 286.15°)
OKLaboklab(45.98% -0.0165 -0.128)
OKLCHoklch(45.98% 0.129 262.7)
XYZxyz(10.5984, 9.4471, 34.0591)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F549F #9F7A2F
analogous
#2F8C9F #2F549F #422F9F
triadic
#2F549F #9F2F54 #549F2F
tetradic
#2F549F #9F2F8C #9F7A2F #2F9F42
square
#2F549F #9F2F8C #9F7A2F #2F9F42
split-complementary
#2F549F #9F422F #8C9F2F
monochromatic
#132241 #213B70 #2F549F #446FC8 #7393D6

Accessibility & contrast

On white

7.27
#2F549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2F549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F549F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F549F#FFFFFF#000000##FFFFFF
##2F549F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#15529D
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f549f;
/* rgb */ color: rgb(47, 84, 159);
/* oklch */ color: oklch(46.0% 0.129 262.7);
Tailwind
colors: {
  custom: {
    50: '#7583bc',
    500: '#2f549f',
    950: '#000000',
  },
}
SCSS
$custom: #2f549f;
$custom-light: #7583bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f549f",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 220.179,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.12902,
    "h": 262.7
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#2F549F
secondary
#BDA36D
accent
#AD4ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F549F

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

Preview Lab → · Contrast checker → · Palette generator →

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