#2F4976#2F4976

#2F4976 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.7% C 0.083 H 260.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2F4976
RGBrgb(47, 73, 118)
HSLhsl(218, 43%, 32%)
HSVhsv(218, 60%, 46%)
CMYKcmyk(60.2%, 38.1%, 0%, 53.7%)
CIE-LABlab(31.06, 4.96, -28.76)
CIE-LCHlch(31.06, 29.19, 279.79°)
OKLaboklab(40.72% -0.0132 -0.0814)
OKLCHoklch(40.72% 0.083 260.8)
XYZxyz(6.8237, 6.6769, 18.0652)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4976 #765C2F
analogous
#2F6D76 #2F4976 #392F76
triadic
#2F4976 #762F49 #49762F
tetradic
#2F4976 #762F6D #765C2F #2F7639
square
#2F4976 #762F6D #765C2F #2F7639
split-complementary
#2F4976 #76392F #6D762F
monochromatic
#0C131E #1E2E4A #2F4976 #4064A2 #6083C0

Accessibility & contrast

On white

8.99
#2F4976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F4976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4976
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4976#FFFFFF#000000##FFFFFF
##2F49761.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D78
Deuteranopia (green-blind)
#2D4675
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4976;
/* rgb */ color: rgb(47, 73, 118);
/* oklch */ color: oklch(40.7% 0.083 260.8);
Tailwind
colors: {
  custom: {
    50: '#6e7b9e',
    500: '#2f4976',
    950: '#000000',
  },
}
SCSS
$custom: #2f4976;
$custom-light: #6e7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4976",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 118
  },
  "hsl": {
    "h": 218.028,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.0825,
    "h": 260.8
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#2F4976
secondary
#A78B5A
accent
#A555D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2F4976

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

Preview Lab → · Contrast checker → · Palette generator →

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