#2F549B#2F549B

#2F549B is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.123 H 262.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2F549B
RGBrgb(47, 84, 155)
HSLhsl(219, 53%, 40%)
HSVhsv(219, 70%, 61%)
CMYKcmyk(69.7%, 45.8%, 0%, 39.2%)
CIE-LABlab(36.58, 11.43, -42.68)
CIE-LCHlch(36.58, 44.19, 284.99°)
OKLaboklab(45.7% -0.0172 -0.1221)
OKLCHoklch(45.7% 0.123 262)
XYZxyz(10.2569, 9.3105, 32.2605)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F549B #9B762F
analogous
#2F8A9B #2F549B #402F9B
triadic
#2F549B #9B2F54 #549B2F
tetradic
#2F549B #9B2F8A #9B762F #2F9B40
square
#2F549B #9B2F8A #9B762F #2F9B40
split-complementary
#2F549B #9B402F #8A9B2F
monochromatic
#13213D #213B6C #2F549B #426FC6 #7193D4

Accessibility & contrast

On white

7.34
#2F549B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2F549B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F549B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F549B#FFFFFF#000000##FFFFFF
##2F549B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9E
Deuteranopia (green-blind)
#1D519A
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f549b;
/* rgb */ color: rgb(47, 84, 155);
/* oklch */ color: oklch(45.7% 0.123 262.0);
Tailwind
colors: {
  custom: {
    50: '#7483b9',
    500: '#2f549b',
    950: '#000000',
  },
}
SCSS
$custom: #2f549b;
$custom-light: #7483b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f549b",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 219.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.12331,
    "h": 262
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#2F549B
secondary
#BBA06A
accent
#AB4BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F549B

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

Preview Lab → · Contrast checker → · Palette generator →

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