#2F548E#2F548E

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

Color values

HEX#2F548E
RGBrgb(47, 84, 142)
HSLhsl(217, 50%, 37%)
HSVhsv(217, 67%, 56%)
CMYKcmyk(66.9%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.79, 6.55, -36.08)
CIE-LCHlch(35.79, 36.67, 280.30°)
OKLaboklab(44.83% -0.0198 -0.1027)
OKLCHoklch(44.83% 0.105 259.1)
XYZxyz(9.2234, 8.8971, 26.8172)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F548E #8E692F
analogous
#2F848E #2F548E #3A2F8E
triadic
#2F548E #8E2F54 #548E2F
tetradic
#2F548E #8E2F84 #8E692F #2F8E3A
square
#2F548E #8E2F84 #8E692F #2F8E3A
split-complementary
#2F548E #8E3A2F #848E2F
monochromatic
#111E32 #203960 #2F548E #3E6FBC #6A91CE

Accessibility & contrast

On white

7.56
#2F548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2F548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F548E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F548E#FFFFFF#000000##FFFFFF
##2F548E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f548e;
/* rgb */ color: rgb(47, 84, 142);
/* oklch */ color: oklch(44.8% 0.105 259.1);
Tailwind
colors: {
  custom: {
    50: '#7283af',
    500: '#2f548e',
    950: '#000000',
  },
}
SCSS
$custom: #2f548e;
$custom-light: #7283af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f548e",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 216.632,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.10462,
    "h": 259.1
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F548E

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

Preview Lab → · Contrast checker → · Palette generator →

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