#2F578F#2F578F

#2F578F is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.103 H 257.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2F578F
RGBrgb(47, 87, 143)
HSLhsl(215, 51%, 37%)
HSVhsv(215, 67%, 56%)
CMYKcmyk(67.1%, 39.2%, 0%, 43.9%)
CIE-LABlab(36.75, 4.97, -35.16)
CIE-LCHlch(36.75, 35.51, 278.05°)
OKLaboklab(45.6% -0.0228 -0.1)
OKLCHoklch(45.6% 0.103 257.1)
XYZxyz(9.5366, 9.4030, 27.2936)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F578F #8F672F
analogous
#2F878F #2F578F #372F8F
triadic
#2F578F #8F2F57 #578F2F
tetradic
#2F578F #8F2F87 #8F672F #2F8F37
square
#2F578F #8F2F87 #8F672F #2F8F37
split-complementary
#2F578F #8F372F #878F2F
monochromatic
#111F33 #203B61 #2F578F #3E73BD #6A94CE

Accessibility & contrast

On white

7.29
#2F578F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F578F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F578F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F578F#FFFFFF#000000##FFFFFF
##2F578F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f578f;
/* rgb */ color: rgb(47, 87, 143);
/* oklch */ color: oklch(45.6% 0.103 257.1);
Tailwind
colors: {
  custom: {
    50: '#7286b0',
    500: '#2f578f',
    950: '#000000',
  },
}
SCSS
$custom: #2f578f;
$custom-light: #7286b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f578f",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 215,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45598,
    "c": 0.10254,
    "h": 257.1
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#2F578F
secondary
#B59465
accent
#A04EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #2F578F

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

Preview Lab → · Contrast checker → · Palette generator →

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