#2F558D#2F558D

#2F558D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.102 H 258.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2F558D
RGBrgb(47, 85, 141)
HSLhsl(216, 50%, 37%)
HSVhsv(216, 67%, 55%)
CMYKcmyk(66.7%, 39.7%, 0%, 44.7%)
CIE-LABlab(36.03, 5.53, -35.08)
CIE-LCHlch(36.03, 35.52, 278.96°)
OKLaboklab(45% -0.0211 -0.0998)
OKLCHoklch(45% 0.102 258)
XYZxyz(9.2268, 9.0235, 26.4496)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F558D #8D672F
analogous
#2F848D #2F558D #382F8D
triadic
#2F558D #8D2F55 #558D2F
tetradic
#2F558D #8D2F84 #8D672F #2F8D38
square
#2F558D #8D2F84 #8D672F #2F8D38
split-complementary
#2F558D #8D382F #848D2F
monochromatic
#101E31 #20395F #2F558D #3E71BB #6992CD

Accessibility & contrast

On white

7.49
#2F558D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F558D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F558D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F558D#FFFFFF#000000##FFFFFF
##2F558D1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A8F
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f558d;
/* rgb */ color: rgb(47, 85, 141);
/* oklch */ color: oklch(45.0% 0.102 258.0);
Tailwind
colors: {
  custom: {
    50: '#7284ae',
    500: '#2f558d',
    950: '#000000',
  },
}
SCSS
$custom: #2f558d;
$custom-light: #7284ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f558d",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 215.745,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.102,
    "h": 258
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#2F558D
secondary
#B49464
accent
#A14EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F558D

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

Preview Lab → · Contrast checker → · Palette generator →

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