#2F548A#2F548A

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

Color values

HEX#2F548A
RGBrgb(47, 84, 138)
HSLhsl(216, 49%, 36%)
HSVhsv(216, 66%, 54%)
CMYKcmyk(65.9%, 39.1%, 0%, 45.9%)
CIE-LABlab(35.56, 5.07, -34.01)
CIE-LCHlch(35.56, 34.38, 278.48°)
OKLaboklab(44.58% -0.0208 -0.0966)
OKLCHoklch(44.58% 0.099 257.8)
XYZxyz(8.9284, 8.7791, 25.2638)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F548A #8A652F
analogous
#2F828A #2F548A #382F8A
triadic
#2F548A #8A2F54 #548A2F
tetradic
#2F548A #8A2F82 #8A652F #2F8A38
square
#2F548A #8A2F82 #8A652F #2F8A38
split-complementary
#2F548A #8A382F #828A2F
monochromatic
#101C2F #1F385C #2F548A #3F70B8 #6890CC

Accessibility & contrast

On white

7.62
#2F548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F548A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F548A#FFFFFF#000000##FFFFFF
##2F548A1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#2F5089
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f548a;
/* rgb */ color: rgb(47, 84, 138);
/* oklch */ color: oklch(44.6% 0.099 257.8);
Tailwind
colors: {
  custom: {
    50: '#7183ac',
    500: '#2f548a',
    950: '#000000',
  },
}
SCSS
$custom: #2f548a;
$custom-light: #7183ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f548a",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 215.604,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.09886,
    "h": 257.8
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F548A

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

Preview Lab → · Contrast checker → · Palette generator →

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