#2F548B#2F548B

#2F548B is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.100 H 258.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2F548B
RGBrgb(47, 84, 139)
HSLhsl(216, 49%, 36%)
HSVhsv(216, 66%, 55%)
CMYKcmyk(66.2%, 39.6%, 0%, 45.5%)
CIE-LABlab(35.61, 5.44, -34.53)
CIE-LCHlch(35.61, 34.95, 278.95°)
OKLaboklab(44.64% -0.0206 -0.0982)
OKLCHoklch(44.64% 0.1 258.2)
XYZxyz(9.0011, 8.8082, 25.6469)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F548B #8B662F
analogous
#2F828B #2F548B #382F8B
triadic
#2F548B #8B2F54 #548B2F
tetradic
#2F548B #8B2F82 #8B662F #2F8B38
square
#2F548B #8B2F82 #8B662F #2F8B38
split-complementary
#2F548B #8B382F #828B2F
monochromatic
#101D30 #20385D #2F548B #3E70B9 #6890CC

Accessibility & contrast

On white

7.60
#2F548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2F548B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F548B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F548B#FFFFFF#000000##FFFFFF
##2F548B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588D
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f548b;
/* rgb */ color: rgb(47, 84, 139);
/* oklch */ color: oklch(44.6% 0.100 258.2);
Tailwind
colors: {
  custom: {
    50: '#7183ad',
    500: '#2f548b',
    950: '#000000',
  },
}
SCSS
$custom: #2f548b;
$custom-light: #7183ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f548b",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 215.87,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.1003,
    "h": 258.2
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#2F548B
secondary
#B39363
accent
#A14FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F548B

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

Preview Lab → · Contrast checker → · Palette generator →

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