#2F558C#2F558C

#2F558C is a dark, moderate blue. Relative luminance 0.090; OKLCH L 44.9% C 0.101 H 257.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2F558C
RGBrgb(47, 85, 140)
HSLhsl(215, 50%, 37%)
HSVhsv(215, 66%, 55%)
CMYKcmyk(66.4%, 39.3%, 0%, 45.1%)
CIE-LABlab(35.97, 5.16, -34.57)
CIE-LCHlch(35.97, 34.95, 278.49°)
OKLaboklab(44.94% -0.0214 -0.0983)
OKLCHoklch(44.94% 0.101 257.7)
XYZxyz(9.1527, 8.9939, 26.0595)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F558C #8C662F
analogous
#2F848C #2F558C #382F8C
triadic
#2F558C #8C2F55 #558C2F
tetradic
#2F558C #8C2F84 #8C662F #2F8C38
square
#2F558C #8C2F84 #8C662F #2F8C38
split-complementary
#2F558C #8C382F #848C2F
monochromatic
#101D30 #20395E #2F558C #3E71BA #6992CD

Accessibility & contrast

On white

7.50
#2F558C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F558C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F558C#FFFFFF#000000##FFFFFF
##2F558C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598E
Deuteranopia (green-blind)
#2F518B
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f558c;
/* rgb */ color: rgb(47, 85, 140);
/* oklch */ color: oklch(44.9% 0.101 257.7);
Tailwind
colors: {
  custom: {
    50: '#7284ae',
    500: '#2f558c',
    950: '#000000',
  },
}
SCSS
$custom: #2f558c;
$custom-light: #7284ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f558c",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 140
  },
  "hsl": {
    "h": 215.484,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.10056,
    "h": 257.7
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#2F558C
secondary
#B49363
accent
#A14FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2F558C

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

Preview Lab → · Contrast checker → · Palette generator →

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