#2F549A#2F549A

#2F549A is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.122 H 261.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2F549A
RGBrgb(47, 84, 154)
HSLhsl(219, 53%, 39%)
HSVhsv(219, 69%, 60%)
CMYKcmyk(69.5%, 45.5%, 0%, 39.6%)
CIE-LABlab(36.51, 11.05, -42.18)
CIE-LCHlch(36.51, 43.61, 284.68°)
OKLaboklab(45.63% -0.0173 -0.1206)
OKLCHoklch(45.63% 0.122 261.8)
XYZxyz(10.1733, 9.2771, 31.8201)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F549A #9A752F
analogous
#2F8A9A #2F549A #3F2F9A
triadic
#2F549A #9A2F54 #549A2F
tetradic
#2F549A #9A2F8A #9A752F #2F9A3F
square
#2F549A #9A2F8A #9A752F #2F9A3F
split-complementary
#2F549A #9A3F2F #8A9A2F
monochromatic
#12213C #213A6B #2F549A #416FC5 #7092D3

Accessibility & contrast

On white

7.35
#2F549A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F549A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F549A#FFFFFF#000000##FFFFFF
##2F549A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#1E5199
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f549a;
/* rgb */ color: rgb(47, 84, 154);
/* oklch */ color: oklch(45.6% 0.122 261.8);
Tailwind
colors: {
  custom: {
    50: '#7483b8',
    500: '#2f549a',
    950: '#000000',
  },
}
SCSS
$custom: #2f549a;
$custom-light: #7483b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f549a",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 219.252,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.12187,
    "h": 261.8
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#2F549A
secondary
#BB9F6A
accent
#AA4BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F549A

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

Preview Lab → · Contrast checker → · Palette generator →

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