#2F497E#2F497E

#2F497E is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.095 H 263.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2F497E
RGBrgb(47, 73, 126)
HSLhsl(220, 46%, 34%)
HSVhsv(220, 63%, 49%)
CMYKcmyk(62.7%, 42.1%, 0%, 50.6%)
CIE-LABlab(31.52, 7.89, -33.02)
CIE-LCHlch(31.52, 33.95, 283.44°)
OKLaboklab(41.22% -0.0113 -0.0939)
OKLCHoklch(41.22% 0.095 263.2)
XYZxyz(7.3194, 6.8752, 20.6759)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F497E #7E642F
analogous
#2F717E #2F497E #3D2F7E
triadic
#2F497E #7E2F49 #497E2F
tetradic
#2F497E #7E2F71 #7E642F #2F7E3D
square
#2F497E #7E2F71 #7E642F #2F7E3D
split-complementary
#2F497E #7E3D2F #717E2F
monochromatic
#0E1525 #1E2F51 #2F497E #4063AB #6383C5

Accessibility & contrast

On white

8.84
#2F497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F497E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F497E#FFFFFF#000000##FFFFFF
##2F497E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f497e;
/* rgb */ color: rgb(47, 73, 126);
/* oklch */ color: oklch(41.2% 0.095 263.2);
Tailwind
colors: {
  custom: {
    50: '#6f7ba4',
    500: '#2f497e',
    950: '#000000',
  },
}
SCSS
$custom: #2f497e;
$custom-light: #6f7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f497e",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 220.253,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41224,
    "c": 0.09458,
    "h": 263.2
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#2F497E
secondary
#AC925D
accent
#AA52D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F497E

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

Preview Lab → · Contrast checker → · Palette generator →

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