#2F548C#2F548C

#2F548C is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.102 H 258.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2F548C
RGBrgb(47, 84, 140)
HSLhsl(216, 50%, 37%)
HSVhsv(216, 66%, 55%)
CMYKcmyk(66.4%, 40%, 0%, 45.1%)
CIE-LABlab(35.67, 5.81, -35.05)
CIE-LCHlch(35.67, 35.53, 279.41°)
OKLaboklab(44.7% -0.0203 -0.0997)
OKLCHoklch(44.7% 0.102 258.5)
XYZxyz(9.0745, 8.8376, 26.0334)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F548C #8C672F
analogous
#2F838C #2F548C #392F8C
triadic
#2F548C #8C2F54 #548C2F
tetradic
#2F548C #8C2F83 #8C672F #2F8C39
square
#2F548C #8C2F83 #8C672F #2F8C39
split-complementary
#2F548C #8C392F #838C2F
monochromatic
#101D30 #20395E #2F548C #3E6FBA #6991CD

Accessibility & contrast

On white

7.59
#2F548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F548C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F548C#FFFFFF#000000##FFFFFF
##2F548C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f548c;
/* rgb */ color: rgb(47, 84, 140);
/* oklch */ color: oklch(44.7% 0.102 258.5);
Tailwind
colors: {
  custom: {
    50: '#7283ae',
    500: '#2f548c',
    950: '#000000',
  },
}
SCSS
$custom: #2f548c;
$custom-light: #7283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f548c",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 216.129,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44704,
    "c": 0.10174,
    "h": 258.5
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#2F548C
secondary
#B49463
accent
#A24FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F548C

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

Preview Lab → · Contrast checker → · Palette generator →

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