#2F558F#2F558F

#2F558F is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.1% C 0.105 H 258.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2F558F
RGBrgb(47, 85, 143)
HSLhsl(216, 51%, 37%)
HSVhsv(216, 67%, 56%)
CMYKcmyk(67.1%, 40.6%, 0%, 43.9%)
CIE-LABlab(36.14, 6.27, -36.12)
CIE-LCHlch(36.14, 36.66, 279.85°)
OKLaboklab(45.13% -0.0207 -0.1028)
OKLCHoklch(45.13% 0.105 258.6)
XYZxyz(9.3769, 9.0836, 27.2404)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F558F #8F692F
analogous
#2F858F #2F558F #392F8F
triadic
#2F558F #8F2F55 #558F2F
tetradic
#2F558F #8F2F85 #8F692F #2F8F39
square
#2F558F #8F2F85 #8F692F #2F8F39
split-complementary
#2F558F #8F392F #858F2F
monochromatic
#111E33 #203A61 #2F558F #3E70BD #6A92CE

Accessibility & contrast

On white

7.45
#2F558F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2F558F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F558F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F558F#FFFFFF#000000##FFFFFF
##2F558F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A91
Deuteranopia (green-blind)
#2D518E
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f558f;
/* rgb */ color: rgb(47, 85, 143);
/* oklch */ color: oklch(45.1% 0.105 258.6);
Tailwind
colors: {
  custom: {
    50: '#7284b0',
    500: '#2f558f',
    950: '#000000',
  },
}
SCSS
$custom: #2f558f;
$custom-light: #7284b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f558f",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 143
  },
  "hsl": {
    "h": 216.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.10487,
    "h": 258.6
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#2F558F
secondary
#B59565
accent
#A34EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #2F558F

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

Preview Lab → · Contrast checker → · Palette generator →

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