#2F548D#2F548D

#2F548D is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.103 H 258.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2F548D
RGBrgb(47, 84, 141)
HSLhsl(216, 50%, 37%)
HSVhsv(216, 67%, 55%)
CMYKcmyk(66.7%, 40.4%, 0%, 44.7%)
CIE-LABlab(35.73, 6.18, -35.56)
CIE-LCHlch(35.73, 36.10, 279.86°)
OKLaboklab(44.77% -0.0201 -0.1012)
OKLCHoklch(44.77% 0.103 258.8)
XYZxyz(9.1486, 8.8672, 26.4235)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F548D #8D682F
analogous
#2F838D #2F548D #392F8D
triadic
#2F548D #8D2F54 #548D2F
tetradic
#2F548D #8D2F83 #8D682F #2F8D39
square
#2F548D #8D2F83 #8D682F #2F8D39
split-complementary
#2F548D #8D392F #838D2F
monochromatic
#101D31 #20395F #2F548D #3E6FBB #6991CD

Accessibility & contrast

On white

7.57
#2F548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2F548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F548D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F548D#FFFFFF#000000##FFFFFF
##2F548D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f548d;
/* rgb */ color: rgb(47, 84, 141);
/* oklch */ color: oklch(44.8% 0.103 258.8);
Tailwind
colors: {
  custom: {
    50: '#7283ae',
    500: '#2f548d',
    950: '#000000',
  },
}
SCSS
$custom: #2f548d;
$custom-light: #7283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f548d",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 216.383,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.10317,
    "h": 258.8
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#2F548D
secondary
#B49464
accent
#A34EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F548D

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

Preview Lab → · Contrast checker → · Palette generator →

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