#2F549D#2F549D

#2F549D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.126 H 262.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2F549D
RGBrgb(47, 84, 157)
HSLhsl(220, 54%, 40%)
HSVhsv(220, 70%, 62%)
CMYKcmyk(70.1%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.70, 12.18, -43.68)
CIE-LCHlch(36.70, 45.35, 285.59°)
OKLaboklab(45.84% -0.0168 -0.125)
OKLCHoklch(45.84% 0.126 262.3)
XYZxyz(10.4263, 9.3782, 33.1525)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F549D #9D782F
analogous
#2F8B9D #2F549D #412F9D
triadic
#2F549D #9D2F54 #549D2F
tetradic
#2F549D #9D2F8B #9D782F #2F9D41
square
#2F549D #9D2F8B #9D782F #2F9D41
split-complementary
#2F549D #9D412F #8B9D2F
monochromatic
#13223F #213B6E #2F549D #436FC7 #7293D5

Accessibility & contrast

On white

7.30
#2F549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F549D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F549D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F549D#FFFFFF#000000##FFFFFF
##2F549D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f549d;
/* rgb */ color: rgb(47, 84, 157);
/* oklch */ color: oklch(45.8% 0.126 262.3);
Tailwind
colors: {
  custom: {
    50: '#7583ba',
    500: '#2f549d',
    950: '#000000',
  },
}
SCSS
$custom: #2f549d;
$custom-light: #7583ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f549d",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 219.818,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.12616,
    "h": 262.3
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#2F549D
secondary
#BCA16B
accent
#AC4BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F549D

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

Preview Lab → · Contrast checker → · Palette generator →

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