#2F548F#2F548F

#2F548F is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.106 H 259.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2F548F
RGBrgb(47, 84, 143)
HSLhsl(217, 51%, 37%)
HSVhsv(217, 67%, 56%)
CMYKcmyk(67.1%, 41.3%, 0%, 43.9%)
CIE-LABlab(35.84, 6.93, -36.60)
CIE-LCHlch(35.84, 37.25, 280.72°)
OKLaboklab(44.9% -0.0196 -0.1042)
OKLCHoklch(44.9% 0.106 259.3)
XYZxyz(9.2988, 8.9273, 27.2144)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F548F #8F6A2F
analogous
#2F848F #2F548F #3A2F8F
triadic
#2F548F #8F2F54 #548F2F
tetradic
#2F548F #8F2F84 #8F6A2F #2F8F3A
square
#2F548F #8F2F84 #8F6A2F #2F8F3A
split-complementary
#2F548F #8F3A2F #848F2F
monochromatic
#111E33 #203961 #2F548F #3E6FBD #6A91CE

Accessibility & contrast

On white

7.54
#2F548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2F548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F548F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F548F#FFFFFF#000000##FFFFFF
##2F548F1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#2B508E
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f548f;
/* rgb */ color: rgb(47, 84, 143);
/* oklch */ color: oklch(44.9% 0.106 259.3);
Tailwind
colors: {
  custom: {
    50: '#7283b0',
    500: '#2f548f',
    950: '#000000',
  },
}
SCSS
$custom: #2f548f;
$custom-light: #7283b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f548f",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 216.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.10606,
    "h": 259.3
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#2F548F
secondary
#B59665
accent
#A44EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2F548F

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

Preview Lab → · Contrast checker → · Palette generator →

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